issue saving ... very very very odd

  • 1
  • Problem
  • Updated 3 years ago
  • Not a Problem
Only the one change prior to save.



Can't explain this after save image.

Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb

Posted 3 years ago

  • 1
Photo of Zach McElrath

Zach McElrath, Employee

  • 49,056 Points 20k badge 2x thumb
That's intended behavior - after you gave your record a Product__c lookup field value, Skuid queried for all of the requested related fields on the Product__r record. Skuid always does a "re-query" for rows in your Model that were saved in order to ensure that it's not showing you inaccurate field values that might have changed via triggers / workflow rules / processes.
Photo of Ben Hubbard

Ben Hubbard, Employee

  • 12,490 Points 10k badge 2x thumb
Pat,

This does look a little strange to me as well. Zach's response would make sense if your screenshot was showing the "data" property of models, but this is in the "changes" property. Is this a pretty simple setup? Are there any "After Save" actions going on?
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
Yup. It's that it's in changes.

It would be best to review during screenshare.