Bug 234667 - remove table generator does not update ui for orm.xml id mapping
Summary: remove table generator does not update ui for orm.xml id mapping
Status: VERIFIED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: General (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.0.1   Edit
Assignee: Karen Butzke CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-29 12:50 EDT by Karen Butzke CLA
Modified: 2008-08-21 17:15 EDT (History)
1 user (show)

See Also:
neil.hauge: review+


Attachments
proposed patch - HEAD (1.01 KB, patch)
2008-06-11 12:58 EDT, Karen Butzke CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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