Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 338947

Summary: renaming an attribute in a class with an error causes 3 prompts to appear
Product: [WebTools] Dali JPA Tools Reporter: Karen Butzke <karenfbutzke>
Component: Diagram EditorAssignee: Petya Sabeva <petya.sabeva>
Status: ASSIGNED --- QA Contact: Stefan Dimov <stefan.dimov>
Severity: normal    
Priority: P3 CC: neil.hauge, petya.sabeva
Version: 3.0   
Target Milestone: Future   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch none

Description Karen Butzke CLA 2011-03-04 10:41:06 EST
I have 1 entity with 1 attribute that has a validation error saying the table can't be found on the database. In the JPA diagram editor I rename the attribute and I am prompted : 'code modification may not be accurate as affected resource '<name>' has compile errors'. This prompt appears 3 times, I assume once for renaming the attribute, once for renaming the getter, and once for renaming the setter.
Comment 1 Petya Sabeva CLA 2011-05-05 09:57:36 EDT
Created attachment 194831 [details]
patch
Comment 2 Stefan Dimov CLA 2011-05-10 07:51:34 EDT
The fix doesn't consider the property based access entity might have no fields, but just getters
Comment 3 Stefan Dimov CLA 2011-05-12 07:54:34 EDT
Neil, what about this one? Should I propose it for PMC review? Appearing of the three prompts is annoying, but not a show stopper. On the other hand, the fix is relatively small and the risk - low.
Comment 4 Neil Hauge CLA 2011-05-12 11:30:04 EDT
I think we can safely wait on this one.
Comment 5 Neil Hauge CLA 2011-10-27 11:16:38 EDT
The 3.2 target now represents the Juno release.
Comment 6 Petya Sabeva CLA 2012-05-04 02:02:14 EDT
Retargeting this bug to the Kepler realease (3.3).
Comment 7 Petya Sabeva CLA 2013-05-08 07:56:36 EDT
Retargeting this bug to 3.4 release.
Comment 8 Neil Hauge CLA 2014-09-30 16:56:50 EDT
Bulk move to Dali 3.5 as Dali 3.4 has shipped.
Comment 9 Neil Hauge CLA 2015-05-14 14:11:28 EDT
Deferring from 3.5 to Future target.