Bug 227895 - orm.xml secondary tables UI enabled state is incorrect
Summary: orm.xml secondary tables UI enabled state is incorrect
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 M7   Edit
Assignee: Pascal Filion CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2008-04-19 12:30 EDT by Karen Butzke CLA
Modified: 2008-10-21 21:43 EDT (History)
2 users (show)

See Also:


Attachments
Fixed enablement (5.10 KB, patch)
2008-04-23 21:30 EDT, Pascal Filion CLA
neil.hauge: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Karen Butzke CLA 2008-04-19 12:30:15 EDT
Define a secondary table on a java entity and add that entity to the orm.xml.  In the secondary tables section press the Add button and you receive an Invalid State Exception.  The Add button should be disabled until you check the 'Define in Xml' button.
Comment 1 Pascal Filion CLA 2008-04-23 21:30:23 EDT
Created attachment 97341 [details]
Fixed enablement
Comment 2 Karen Butzke CLA 2008-04-23 22:07:06 EDT
checked this patch in, looks good
Comment 3 David Williams CLA 2008-04-24 00:49:04 EDT
mass change to add 'contributed' keyword based on bugzilla query, please
correct if that's not accurate (by marking patches as obsolete and removing the
'contributed' keyword. 
Comment 4 Jolene Moffitt CLA 2008-05-06 12:18:35 EDT
Verified in wtp build 20080502013144 - 20080502013144.zip

Verified if you add an Entity Class to the orm.xml and then go to the Secondary Table section you have to first check the 'Define in XML' checkbox in order to be able to Add/Edit/Remove items.  If you select Add no exceptions appear.