Bug 234667

Summary: remove table generator does not update ui for orm.xml id mapping
Product: [WebTools] Dali JPA Tools Reporter: Karen Butzke <karenfbutzke>
Component: GeneralAssignee: Karen Butzke <karenfbutzke>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: neil.hauge
Version: 2.0Flags: neil.hauge: review+
Target Milestone: 2.0.1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
proposed patch - HEAD none

Description Karen Butzke CLA 2008-05-29 12:50:35 EDT
This use case works fine in java.  In orm.xml if you add a table generator to an id mapping and then remove it either from the xml source or using the 'Table Generator' check box on the jpa details page, the related UI widgets(name, table, etc) are not cleared out.  If you then try to edit any of those widgets you get exceptions in the error log.  It seems like the UI is still holding on to the TableGenerator model object that no longer exists.
Comment 1 Karen Butzke CLA 2008-05-29 13:03:45 EDT
actually, this only happens if you use the 'Table Generator' check box, not if you remove it directly from the orm.xml source
Comment 2 Karen Butzke CLA 2008-06-11 12:58:50 EDT
Created attachment 104508 [details]
proposed patch - HEAD

Simple fix, incorrect property string being used
Comment 3 Karen Butzke CLA 2008-07-09 12:58:57 EDT
checked in to HEAD, no branch for 2.0.1 yet