I have a model on a child object in a master-detail relationship. I display the child records in a table in a drawer under the master record(s).
The child table has a New Row global action. The new, child row has a dependency on a field value from the master record. The child model includes the master reference and ‘Id’ fields, as well as the custom field (call it CCM__c).
When I load the page and go directly to the drawer and click the New Row button I can see that the master CCM field was accessed successfully. I can also go to the browser console and run skuid.$M(“ChildModel”).data[0].Master__r.CCM__c and obtain the value of the field in the master record.
But, if I click another tab in the page, and another drawer for a different model, then come back to the New Row button described before, the master field is missing from the child model. On the browser console, skuid.$M(“ChildModel”).data[0].Master__r.CCM__c returns undefined. Exploring the model shows that the master field is no longer part of the master reference object. Its name and Id and certain other fields are still there however.
To the best of my ability, I have checked that nothing in the other tab and drawer is referencing the model that gets corrupted. The other tab and drawer are using the same objects but not the same models as the drawer and table where the corruption occurs. I have checked activate-and-set-condition actions, save and cancel actions, requeries, and event-based actions on the models themselves, but nothing seems to access the model that goes awry. What else might be the culprit?
skuid version 9.5.4
Question
Why / how would a field disappear from a model?
This topic has been closed for replies.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.

