Relation register same property value twice error since 8.2

Discuss all problems you have with Servoy here. It might help to mention the Servoy version and Operating System version you are using

Relation register same property value twice error since 8.2

Postby Crusher.Markus » Tue Sep 12, 2017 3:04 pm

Hi,

since the update from servoy 8.1.4 to 8.2 i have problems with relations that includes the same property twice.

DAL.addDataLinkedProperty - trying to register the same (equal) property value twice


e.g.

Tables:
- pricelist
- pricelisthistory

The history table contains a price for a specific period of time and i want to get the current valid price.

Code: Select all
var globalVariableCurrentDateTime = application.getTimeStamp();

I use this variable twice in a relation to check the valid from (>scopes.globals.globalVariableCurrentDateTime ) date and valid to (<scopes.globals.globalVariableCurrentDateTime) date.

The problem occurs in several places.

Please advise.
Thanks
Crusher.Markus
 
Posts: 6
Joined: Tue Nov 22, 2016 3:55 pm

Re: Relation register same property value twice error since

Postby automazione » Tue Sep 12, 2017 4:05 pm

Did a quick test and seems to work flawlessly. I suggest you file a ticket at http://support.servoy.com attaching a micro-application that shows your code and issue
Enrico Arata
Servoy Italia
automazione
 
Posts: 366
Joined: Thu Apr 24, 2003 11:37 am
Location: Torino, Italy

Re: Relation register same property value twice error since

Postby Crusher.Markus » Wed Sep 13, 2017 9:06 am

I created a ticket and a sample solution. Thank you.

https://support.servoy.com/browse/SVY-11561
Crusher.Markus
 
Posts: 6
Joined: Tue Nov 22, 2016 3:55 pm


Return to Discuss possible Issues and Bugs

Who is online

Users browsing this forum: No registered users and 4 guests

cron