History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-13566
Type: Usability Problem Usability Problem
Status: Open Open
Priority: Normal Normal
Assignee: Peter Gromov
Reporter: Stephen Friedrich
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Confusing dialog "Rename Persistence Relationship instead of field?"

Created: 14 Jan 07 17:35   Updated: 14 Apr 08 12:09
Component/s: Refactoring, J2EE
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: None
Image Attachments:

1. confusion.png
(7 kb)

2. rename.png
(10 kb)

Build: 6,148
Severity: Medium


 Description  « Hide
When I try to rename fields that are persistent Idea pops up a dialog.
I have no idea what difference it will make if I click "Yes" or "No".

Even if I click "Yes" the field gets renamed, so the question seems just wrong.
If I search for usages the same question is asked, but the find results are exactly the same.

So please clarify what exactly you want me to answer and probably add a "Help" button.



 All   Comments   Work Log   Change History      Sort Order:
Stephen Friedrich - 11 Apr 08 16:47
In build 7782 the dialog has been enhanced to create even more confusion - see screenshot.

The preview shows exactly the results, regardless of how I answer the dialog.
In each case the preview says
Field to be renamed to _version, Version to be renamed to _version

Shouldn't it just ask whether to rename column "version", too?
Or maybe the best way would be to have two separate text fields in the rename dialog - one for the java class and one for the column (so that I can rename from field "invoiceNo" with column "invoice_no" to invoiceNumber/invoice_number?

Or am I still not getting the point here?