I have a page with 3 models (parent->child->grandchild) and a custom button that executes actions - Save Models & Query Models. After completing the actions, the grandchildren model was not updated, however all the data was successfully saved to the database. If the stock “save” button is invoked instead, all models have the correct data but I believe this is because the models are not fully requeried (only changes) during a stock “save.” I have granted login access. The test page is called SampleChildRecordsNotRetrievedAfterQueryModelRepro. Steps to reproduce: 1) View page using test record of “TTP-0003” 2) Check the following and note the value skuid.model.getModel(‘TestTransGrandchildren’).data.length 3) Click the green plus icon 4) Expand the table drawer for the new row 5) Input a value for first name & last name 6) Click the green plus icon for grandchild table 7) Input a value for Information 8) Check the following and note the value - It contains 1 additional record as expected skuid.model.getModel(‘TestTransGrandchildren’).data.length 9) Click “Save Manual” 10) Check the following and note the value - It contains 1 less row than expected skuid.model.getModel(‘TestTransGrandchildren’).data.length Actual Result: The newly added child item does not contain visible grandchildren records in the table Expected Result: The newly added child should contain visible grandchildren If you refresh the page and follow the exact same steps as above but click the “Save” button in step #9 instead of “Save Manual” the expected behavior is encountered. Thank you!
Question
Grandchildren not required on Query Models action - Skuid 5.8
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.