problem when change navigation property.

Hello everyone.
I’m over here reporting a bug.
The error occurs when you try to change some property in Servoy Navigation Configuration screen, at the property tab.

This error occurs because the variable propertyRecord is filled incorrectly in the method SetPropertyValue in svyProperties.js.

One possible solution, and that has worked, is to add the following lines:

if (utils.hasRecords(propertyValueRecord.svy_property_values_to_svy_properties)) {
propertyRecord = propertyValueRecord.svy_property_values_to_svy_properties;
}
** else { // Added by bpena. 29/10/2013**
** propertyRecord = propertyValueRecord;**
** }**

Is this correct?

thank you!!!

What property is it that you are trying to change?

I tried with “Filter on solution name” and all other.

I have the impression that something is wrong in your data. Have you run the conversion method for the properties? This

if (utils.hasRecords(propertyValueRecord.svy_property_values_to_svy_properties))

should be true for a system property (meaning that the value finds its parent property). So I think that somehow the data is messed up. If this is not a production server, you could remove all data from svy_property_values, relogin and try again.

i have used sampleuse_navigation in a new workspace. :cry:

I have tried that myself and it is indeed a problem with the sample data that ships with the sampleuse_navigation. Please close the client, issue a

delete from svy_property_values

on the svy_framework DB and relogin. Then all should be set to default values and work correctly.

ok patrick, i’ll try. thanks.