Foundset Error

Hi

A Form has dataSource A and a split pane. The split forms right form is attached with a relation (A_to_B). After hiding the form (displaying an other form), I receive the following error:

ERROR org.sablo.websocket.WebsocketEndpoint - Error: illegal value 'FoundSet[Table:B,Size: 13,CachedRecords: 13,SELECTED INDEX: 0]' to set on the foundset property with foundsetSelector/datasource: , foundset is either pinned to form's foundset or to a related foundset myFoundset java.lang.RuntimeException: illegal value 'FoundSet[Table:B,Size: 13,CachedRecords: 13,SELECTED INDEX: 0]' to set on the foundset property with foundsetSelector/datasource: , foundset is either pinned to form's foundset or to a related foundset myFoundset.

Any idea what causes the error?

Thanks and regards
Birgit

I’ve seen the exact same error message today (v2022.3.1)

In this case it was a modal dialog showing a form over a relation in a form container component.
As soon as I close the dialog the error is thrown.

Good to hear, that this is seen and reproducible in your environment too, Marc.

I did some research and found, that onHide is being executed, when the (right) form on the split pane is shown.

Regards
Birgit

The error is fixed already (https://support.servoy.com/browse/SVY-17244) in NGGrids (I guess you have a grid in the form that is hidding) - and it will be in the next release, 2022.6.2. The error doesn’t influence the code execution, it’s a cleanup code that does not work well - so beside seeing that error, your code should work just fine.

Thank you for the answer. So, we can leave the code untouched, since it does not do any harm, and we’ll wait for the update.

Regards
Birgit