shesha-io / shesha-framework

An open-source Low-Code development framework for .NET developers. Create .NET based business applications with 80% less code.
https://shesha.io
Apache License 2.0
384 stars 75 forks source link

The subform within data list does not update when the data is updated #561

Open Tshepiso-R opened 1 year ago

Tshepiso-R commented 1 year ago

There's a child table and data list, whereby when you action something on the child table using inline editing it should update the data list according to the handle success method specified (refresh data context for the data list)

Steps to reproduce the behavior:

From configuration: https://shesha-functionaltests-mainline-adminportal-test.azurewebsites.net/shesha/forms-designer/?id=9da17eae-3099-4835-b196-200bfb955ae7

Form Rendered: https://shesha-functionaltests-mainline-adminportal-test.azurewebsites.net/dynamic/Boxfusion.SheshaFunctionalTests.Common/School-Details/?id=49d6b802-935e-4527-990a-68a3f1d35368

  1. From the subject child table, enter the required details then save. Immediately the data list will refresh and the new data will be added
  2. Update the subject name from the child table and save. Immediately the data list will refresh, however the data is not updated

image

Tshepiso-R commented 1 year ago

This is also occurring on the current implementation of the data list. If the data is updated, the api call shows that the data is updated, however the subform within it is not updated

API Call from handling success( refresh data context)

System URL: https://shesha-functionaltests-mainline-adminportal-test.azurewebsites.net/dynamic/Boxfusion.SheshaFunctionalTests.Common/deploy-create/ image image