I use many valuelists which are setup with: application.SetValueListItems.
In NG Client I have experienced that after some Idle time of the client (without logout) the valuelist is empty. In the field the real-value is shown and the valuelist in the combobox is empty. Hard-coded valuelist with custom values don’t have any problems after Idle time of the client.
Has it anything to do with: sablo.window.timeout.secs ? I have the value on 1800 seconds.
Version Servoy: 8.1.4.
Do you have fixed this problem.
We have the same issue for a year. And servoy does not seems to get it resolved.
We have made a work a round dat at particular moment in the application we check if the list is empty and if so we fill it again. But that should not be the way to go.
Andre
Hi, we have the same problem. I load about 35 different custom value lists at startup with a global method, like this.
application.setValueListItems('myvaluelistname', dataset.getColumnAsArray(1), dataset.getColumnAsArray(2));
Most lists have less than 20 items. This works fine on Smart Client. As we are testing in preparation to go live with a NG-client system,
users are reporting that valuelists are missing after using the system for some time. (Apart from this issue the system appears to be running smoothly)
Any ideas what to look for?
or do I need to check if the valuelists are still populated before showing forms?
Servoy 8.2.3
Apache Tomcat/9.0.12
Java 1.8.0_181-b13
Windows Server 2016
Edge and Safari web browsers.
Thanks,
Hi Christian,
Our problem is still not solved.
Most of our valuelist are filled at startup. After awhile, when you are not working with the program, they are empty.
What we do as a work around is at specific times in the program, such as choosing an option from the main menu, we check all the valuelists and when it is empty, we fill it again.
It is overhead. As most of our users are working with the program constantlym this workaround is working for us. And we auto-logout all users who are idle for 1 hour.
Brdgs
Andre
Thank you for your reply.
I tried making a test solution with a custom valuelist,
but the list is still there after leaving it open overnight ![Sad :-(]()
Hi
We tried that also.
I believe it has something to do with the available memory of your server. We have a sevrer with less memory and on this server the lists are emptied much quicker.
I think Servoy deletes valuelists during the garbage collections like it does with forms.
Brdgs
Andre