Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349468 - Cloning of a form data does not replace the inner synthetic member
Summary: Cloning of a form data does not replace the inner synthetic member
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Scout (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-15 11:47 EDT by Ivan Motsch CLA
Modified: 2021-08-19 11:21 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 Ivan Motsch CLA 2011-06-15 11:47:01 EDT
When cloning a form data bean, the inner types are cloned as well (ok)
but the synthetic members "this$0",... are still referencing the old instance.
Comment 1 Ivan Motsch CLA 2011-06-15 12:25:03 EDT
Fixed by overriding the clone on the data objects and creating deep copies of the inner fields and properties.
Comment 2 Matthias Zimmermann CLA 2011-10-10 12:39:36 EDT
shipped with scout 3.7.1