Close Page/Cancel activity on a pop-up page causes the Content page to go blank

0
I have an in-content page with a data view, data-source as page parameter. Nested inside this dataview is Listview with datasource as Microflow. A button on the listview opens a Pop-up page. When this pop-up is closed (cancel changes/close page by button/microflow) the In-content page becomes blank. The data view is not supplying the object back. No errors on Mendix console. Browser console throws error listview saying user does not have access to object attributes. Any ideas why this happens? Saving the object and closing the page seems to work fine sometimes but not always.
asked
1 answers
0

The context may be lost when you return to the page. What I would do is not use a DataSource Microflow anyway. It is better to open the page with an object that you pass as Page Parameter where you show an object over association. It is not recommended to use a data source microflow because it can impact the performance with regard to loading your page, but also because it can show unexpected behavior in some cases.

As you indicate it sometimes works if you commit the object, this means that your objects are not properly stored in your cash. It is possible that your item has been removed from your cash because you rollback in one of the actions you perform, for example in a cancel button.

answered