Conditional References

The use of specific JADE features and proposals for new feature suggestions
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Conditional References

Postby ConvertFromOldNGs » Fri Aug 07, 2009 10:55 am

by Stephen >> Tue, 9 Mar 2004 2:21:06 GMT

Hi,
I am having frustrating issues with the new conditional references feature in Jade 6. I have upgraded many of our collections to have conditions on them now, which for the most part work very nicely and are extremely helpful. However each time I add or remove a property on a class with the conditional methods on it (ie reorg required) the reorg empties out all my collections that have a condition atatched.
At first I thought it was a freak thing, so wrote a script to correct it, and carried on, but its doing it again and again....

We have the following:
The reference properties listed are on the Class "Franchisee"
rAllTenders TenderDict, inverse rFranchisee, of Tender rAllOpenTenders TenderDict, inverse rFranchisee where isTenderOpen, of Tender rAllClosedTenders TenderDict, inverse rFranchisee where isTenderClosed, of Tender rAllWithdrawnTenders TenderDict, inverse rFranchisee where isTenderWithdrawn, of Tender

All collections work until I add a property to the Tender class, after the reorg is completed the only collection with any entries is rAllTenders. The other 3 are now empty.
I have to then run a script that sets rFanchisee to null, then back to what it was, and the other collections get populated again.

This isn't just happening with this one class, it is happening everywhere in our system and reproducable everytime.

Is it something I have set up incorrectly? What am I missing here?!? Thanks
Stephen

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Conditional References

Postby ConvertFromOldNGs » Fri Aug 07, 2009 10:55 am

by Stephen >> Tue, 9 Mar 2004 3:36:44 GMT

Sorry got it back to front explaining it....
The collections are empty after doing a reorg on the class that has the collections, not the class with the conditional methods. In the example I gave, if I add a property to the Franchisee class and do a reorg, then I loose all entries in the collections on that class that have conditions attached.

Sorry for the confusion.

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Conditional References

Postby ConvertFromOldNGs » Fri Aug 07, 2009 10:55 am

by Brendan Doolan >> Tue, 9 Mar 2004 12:13:24 GMT

Stephen,
This sounds exactly like PAR 33010, a priority A fault reported on 6.0.18. There is hotfix (#20) available in PARSYS to fix this problem.

Brendan


Return to “Feature Discussions”

Who is online

Users browsing this forum: No registered users and 10 guests