Issue Details (XML | Word | Printable)

Key: NUCCORE-854
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Andy Jefferson
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

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

ManagedRelations : update of a 1-1 field has an erroneous nulling of the field being set

Created: 15/May/12 09:06 PM   Updated: 04/Oct/12 05:02 PM   Resolved: 15/May/12 09:09 PM
Component/s: Persistence
Affects Version/s: 3.0.0.release, 3.0.10, 3.1.0.m3
Fix Version/s: 3.1.0.m4


 Description  « Hide
If a user sets a 1-1 bidir field to null, and then to a different value, these are passed into RelationshipManagerImpl. What currently happens is only the first change is registered, and when it processes it, the old value is already deleted, so it drops to a line that nulls the field in the owner object. Makes no sense to do that.

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 15/May/12 09:09 PM
SVN trunk removes this nulling