Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 326020 - MasterDetailsRidget.suggestNewEntry(obj) should add obj and not a copy
Summary: MasterDetailsRidget.suggestNewEntry(obj) should add obj and not a copy
Status: RESOLVED FIXED
Alias: None
Product: Riena
Classification: RT
Component: ridget (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: 3.0.0.M2   Edit
Assignee: Elias Volanakis CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-23 01:16 EDT by Elias Volanakis CLA
Modified: 2010-10-29 06:19 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elias Volanakis CLA 2010-09-23 01:16:01 EDT
Currently mdr.suggestNewEntrty(obj) adds a copy of obj. 

The drawback is that value which are not used in the details are (naturally) not copied and thus lost. The desired behavior is to copy the details back into obj and then add the suggested obj instance.
Comment 1 Elias Volanakis CLA 2010-09-23 01:54:13 EDT
Resolved.