Error in valuelist in custom component.

Forum to discuss the new web client version of Servoy.

Error in valuelist in custom component.

Postby jay.rao » Thu Feb 15, 2018 10:58 am

Hello,
We have a detail form and respective list form with our custom list-component.For our custom list-component we have same .spec file as that of bootstrapcomponents-table, although when we run our forms initially even before the list form is visible on screen/list is initialized we get below error for the valuelist. Is it because our valuelist was initialized by textbox/dropdown component and it still tries to rebind?
Code: Select all
ERROR com.servoy.j2db.util.Debug - Valuelist: price_rule_price_rule_type used with different types
at D:\Project\svy_nav_navigation\globals.js:16920
at D:\Project\svy_nav_navigation\globals.js:16919 ()
at D:\Project\svy_nav_navigation\globals.js:17894 ()
at D:\Project\globis_ng_navigation\ng$nav.js:87 ()
at D:\Project\globis_ng_navigation\ng$nav.js:29 ()
ERROR com.servoy.j2db.util.Debug - The valuelist was already created for type: TEXT
for the dataproviders:
So it can't be used also for type: INTEGER for the dataprovider: price_rule_type
Please edit these dataprovider(s) (using table editor for database column or Edit variable context menu action for variables) of this valuelist: price_rule_price_rule_type so that they have the same type.
at D:\Project\svy_nav_navigation\globals.js:16920
at D:\Project\svy_nav_navigation\globals.js:16919 ()
at D:\Project\svy_nav_navigation\globals.js:17894 ()
at D:\Project\globis_ng_navigation\sample.js:87 ()
at D:\Project\globis_ng_navigation\sample.js:29 ()



Do you have any suggestion to avoid such situation?
jay.rao
 
Posts: 59
Joined: Mon Apr 10, 2017 1:32 pm

Return to Servoy NGClient

Who is online

Users browsing this forum: No registered users and 8 guests

cron