Hi Andrei / Johan,
here are some answers to the questions you've asked:
Andrei Costescu wrote:What type do the real values have? Are they UUIDs?
These are VL like:
retVal -> dispVal
1 -> Todo
2 -> Closed
3 -> Wait for customer response
Length of the list seems not to be involved and.... if this happens all valuelists will be gone...
Andrei Costescu wrote:Are you sure you don't change the values by mistake somewhere in the code?
No, the setup routine will run at startup of the solution and won't be executed for these valuelists.
We are actually populating other valuelists with 'local' values as we need them, but this are just a few universal named valuelists like:
'localTxt01', 'localTxt02', 'localNum01', 'localNum02', 'localInt01', 'localInt02'
So we assign a valuelist to the corresponding type of field.
Andrei Costescu wrote:What version of Servoy are you using?
See my signature... 4.1.3
Andrei Costescu wrote:but it sounds like you didn't find a 100% reproduceable scenario...
you're right... it's even harder that I didn't find this issue in eclipse... it just happens in the client. On the other hand: the clients are really used in production, I'm just coding, testing, restarting my devclient etc.
jcompagner wrote:1 question, is that valuelist that you alter there. somehow already loaded by a field before you alter it?
The valuelists where this behaviour occurs are 'static' and populated before they're touched by anything else.
Please see also the above response on Andrei's question.
jcompagner wrote:ok we did see a possible loop hole that could cause the behavior you are describing.
But only if the valuelist is first touched by something else then with application.setValueListItems
I fixed this in 3.5 and 4.1
Does this mean that is already shouldn't be happening in 4.1.3, because it does....