Issue Details (XML | Word | Printable)

Key: NUCCORE-291
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Unassigned
Reporter: Joerg von Frantzius
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
DataNucleus Core

One-Many bidir: moving elements by setting collection fails

Created: 11/May/09 08:43 PM   Updated: 15/Mar/11 10:07 AM
Component/s: Persistence
Affects Version/s: 1.1.2
Fix Version/s: None


 Description  « Hide
Moving a collection element fails for One-Many bidir when it is done by setting a collection (containing that element) on a new owner. This is the case both for FKSetStore and JoinSetStore.



Sort Order: Ascending order - Click to sort in descending order
Joerg von Frantzius added a comment - 11/May/09 08:50 PM
Reproducible using ManagedRelationshipTest.testOneToManyJoinBidirSetCollectionMoveElement() and testOneToManyFKBidirSetCollectionMoveElement().

Andy Jefferson added a comment - 07/Jul/09 12:04 PM
Test moved under knownbugs so that the raiser can investigate in isolation and so it doesn't get in the way of standard test running

Andy Jefferson added a comment - 02/Dec/10 08:06 PM
Related to NUCCORE-601

Andy Jefferson added a comment - 14/Mar/11 10:35 AM
Both tests now moved into main test package. FK test passes

Andy Jefferson added a comment - 15/Mar/11 10:07 AM
Moving to Minor since this is solely Managed Relationships and the user can workaround it by just setting both sides of their relation.