Page 1 of 1

Relation register same property value twice error since 8.2

PostPosted: Tue Sep 12, 2017 3:04 pm
by Crusher.Markus
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

Re: Relation register same property value twice error since

PostPosted: Tue Sep 12, 2017 4:05 pm
by automazione
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

Re: Relation register same property value twice error since

PostPosted: Wed Sep 13, 2017 9:06 am
by Crusher.Markus
I created a ticket and a sample solution. Thank you.

https://support.servoy.com/browse/SVY-11561