Community
Participate
Working Groups
In the JPA diagram editor if I rename an attribute that has a compiler error, or JPA validation error, it prompts me if I want to rename. If I cancel the dialog (all 3 dialogs that appear), the diagram itself still gets modified with the new name. I can't figure out a way to rename the attribute at this point, selecting on it does not make it editable like it did before the canceled rename. I can close the diagram editor without saving and then the diagram is correct and I can rename the attribute.
Created attachment 196761 [details] patch
The user cancels an operation, but it's still being performed. That looks bad and should be fixed. No workaround. The fix has been tested manually. All the exisiting JUnit tests are passing successfully. The JDT class RenameSupport throws an InterruptedException when the user cancels the operation. All that the fix is doing is to skip the post-rename operations. The impact is little and the risk is low.
I don't think this bug rises to the level of severity needed for RC4. Bug candidates for RC4 should represent at minimum a major loss in functionality or be a P1 issue, which I would consider this to be only a normal bug. I also don't think a respin of RC3 is warranted for this issue. The 3.0.1 maintenance release would be a good target for this type of bug.
3.0.1 it is ...
patch submitted in HEAD and R3_0_maintenance
Verified in Build I-3.4.0-20110812160550 Verified if you change the attribute name via the diagram editor and then cancel the name is not updated. See the link to view test steps for verification. http://wiki.eclipse.org/Dali_3.0.1