| Summary: | Entity Gen Wizard: Manually input table names are not counted on Association Tables page | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] Dali JPA Tools | Reporter: | Nan Li <nan.n.li> | ||||
| Component: | General | Assignee: | Nan Li <nan.n.li> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | jolene.moffitt, neil.hauge | ||||
| Version: | unspecified | Flags: | neil.hauge:
review+
|
||||
| Target Milestone: | 3.3 M2 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Nan Li
Created attachment 214617 [details]
Proposed Patch
The solution is to validate the value entered either manually or by selecting from the table list. It cannot be proceeded to the next page if any table is not specified or any given table does not exist, and thereby prevents invalid input for the next page which may later lead to exceptions.
I wonder if there is even a reason that these table entry fields should be editable. I suppose some users might want to type the name in manually, so since this patch already adds the necessary validation, that should be fine. Hmm. It seems even with valid tables, add association on the next page fails, but that would be an unrelated bug. Patch is committed to head. Part of the join table related changes for this bug was rolled back because of bug 364093. Please reference the changes in the additional patch of bug 364093. No changes were rolled back. Please reference bug 364093 for details. Verified in build I-3.5.0-20121003040013 that you need to enter valid Table names in the Create New Association dialog in order to have the Next button become enabled. To view steps to verify this issue go to http://wiki.eclipse.org/Dali_3.3_M2_Release |