SolutionModel-Using the same valueList for different fields

Hi All,
I have to create a dynamic search form with a dynamic datasources (in this case dynamic form variables).
I create the form and maintain a struct of the current state of the form in a global object.
When clicking a button “+”, I add rule(4 fields with their sources) and update my form state descriptor(the global object).
When I try to add a rule I got the following error msg
Valuelist: myValueList2 used with different types
The valuelist was already created for type: INTEGER
for the dataproviders: sel_1
So it can’t be uses also for type: TEXT for the dataprovider: sel_2
Please check these dataproviders of this valuelist: myValueList2
Valuelist: myValueList used with different types
The valuelist was already created for type: INTEGER
for the dataproviders: searchid_1
So it can’t be uses also for type: TEXT for the dataprovider: searchid_2
Please check these dataproviders of this valuelist: myValueList
Valuelist: myValueList used with different types
The valuelist was already created for type: INTEGER
for the dataproviders: searchid_1
So it can’t be uses also for type: TEXT for the dataprovider: operatorid_2
Please check these dataproviders of this valuelist: myValueList

When I debug the dataprovider searchid_2,its value is a number and not TEXT!!!
Here is a sample solution that illustrate the issue.
to reproduce the problem:
1- launch the solution
2- click the “open search form” button
3 - try to add a rule through the ‘’+" button.

version servoy : 5.1.2
OS:windows xp

I overcome for the moment the problem by creating a new value list for each field :shock:
Grateful to hear your suggestion or explanation of that behaviour…
Thank you for your support.

SGM_SEARCH_ENGINE.servoy (7.08 KB)

I cannot reproduce the issue in latest code (but in 5.1.2 it happens as described). So, it seems fixed by now. Can you wait until 5.1.3 is released and try there again ?

OK,Thank you Ivostinar.
Is there a date scheduled for the next release?
Thank you for your support.

madimane:
OK,Thank you Ivostinar.
Is there a date scheduled for the next release?
Thank you for your support.

Not sure at this time, it depends on the amount of issues that arrive.

Hi all,
I’ve tested the solution after upgrading the servoy version to 5.1.3 and it works :D
Thank you for your effort.