Foundset Error

Forum to discuss the new web client version of Servoy.

Foundset Error

Postby rieder » Tue Jul 19, 2022 5:48 pm

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:
Code: Select all
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
Birgit Rieder
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
rieder
 
Posts: 177
Joined: Thu Jan 26, 2012 5:18 pm

Re: Foundset Error

Postby mboegem » Tue Jul 19, 2022 6:41 pm

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.
Marc Boegem
Solutiative / JBS Group, Partner
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image

Partner of Tower - The most powerful Git client for Mac and Windows
User avatar
mboegem
 
Posts: 1743
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam

Re: Foundset Error

Postby rieder » Wed Jul 20, 2022 8:43 am

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
Birgit Rieder
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
rieder
 
Posts: 177
Joined: Thu Jan 26, 2012 5:18 pm

Re: Foundset Error

Postby Gabi Boros » Wed Jul 20, 2022 11:10 am

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.
Gabi Boros
Servoy
Gabi Boros
 
Posts: 399
Joined: Tue Jun 26, 2007 4:03 pm
Location: Timisoara, Romania

Re: Foundset Error

Postby rieder » Wed Jul 20, 2022 1:54 pm

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
Birgit Rieder
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
rieder
 
Posts: 177
Joined: Thu Jan 26, 2012 5:18 pm


Return to Servoy NGClient

Who is online

Users browsing this forum: No registered users and 9 guests