| Summary: | No delete relation confirmation | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] Dali JPA Tools | Reporter: | Stefan Dimov <stefan.dimov> | ||||
| Component: | Diagram Editor | Assignee: | Stefan Dimov <stefan.dimov> | ||||
| Status: | VERIFIED FIXED | QA Contact: | Stefan Dimov <stefan.dimov> | ||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | david_williams, jolene.moffitt, neil.hauge | ||||
| Version: | 3.0 | Flags: | david_williams:
pmc_approved+
stefan.dimov: pmc_approved? (raghunathan.srinivasan) stefan.dimov: pmc_approved? (naci.dai) stefan.dimov: pmc_approved? (deboer) stefan.dimov: pmc_approved? (neil.hauge) stefan.dimov: pmc_approved? (kaloyan) stefan.dimov: pmc_approved? (cbridgha) stefan.dimov: review+ neil.hauge: review+ |
||||
| Target Milestone: | 3.0 RC2 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | PMC_approved | ||||||
| Attachments: |
|
||||||
|
Description
Stefan Dimov
Created attachment 195592 [details]
patch
This one is a regression and should get into RC1, because nothing should be deleted without confirmation. There is no workaround. The fix was tested manually. All the existing JUnit tests are passing succesfully. The bug is result of a recent port of the editor to a newer Graphiti version. There was an API change in the Graphiti. A certain parameter was added to the method getUserDecision() of the DefaultDeleteFeature class. This way, the method is not being invoked (from the subclass DeleteRelationFeature). Instead of it another method from the super super class is being invoked and it just returns true without confirmation. The fix is very small - i've just added a parameter to the invokation of getUserDecision(), so the risk is very low. The fix is sbmitted and released Verified in Build I-3.3.0RC4-20110603221533 Verified delete message within diagram editor appears as follows when you want to delete an entity relationship - Do you want to remove this relation from the diagram and update the corresponding Java resouces? See the link to view test steps for verification. http://wiki.eclipse.org/Dali_3.0_RC2 |