Deleted and not-deleted non-persistable objects?

0
Hi all,   In my current project I’m showing non-persistable objects on screen, that are associated to persistable objects and created by a DS microflow. However, when opening the page again more non-persistable objects are created as can be seen on the screen. Eventually this leads to a warning on log  node RequestStatistics:  Request state size of 126 objects exceeds the threshold of 100 objects. So I tried deleting the non-persistable objects first in the microflow. The weird thing is: when trying to find the non-persistable objects over association, the results come up empty. To summarize, I have non-persistable objects that I’m unable to find. Do you have any ideas why this might be happening and/or how to solve this issue? Any help or advice would be much appreciated.   With kind regards, Jesper Box   N.B. Mendix version is actually 8.10.0 (which was not available from the drop down).
asked
3 answers
0

Hi Jesper,

Are you sure you're setting the association between NPE en PE? The retrieve and delete mechanism should work is my experience.

answered
0

Some images to help clarify:

The page:

A relevant part of the domain model:

The microflow, which in this case gets called from navigation:

All the retrieves are empty lists, yet every itteration seems to add another planningview item to the screen.

answered
0

You're create actions are working fine then, thus:

- Retrieve the list of PlanningView over Day and delete those. What you're seeing is de PlanningView over Day and not necessarily over the new WeekView

 

answered