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

Key: IDEADEV-28896
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Normal Normal
Assignee: Alexander Chernikov
Reporter: Sonia Ziv
Votes: 18
Watchers: 2
Operations

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

When renaming or moving package containing GUIDesigner forms, images and nested forms paths inside the forms are not updated

Created: 11 Dec 07 19:08   Updated: 13 Aug 08 19:03
Component/s: GUI Designer
Fix Version/s: Diana 8660

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. Zip Archive JIRA16656_after_rename.zip (21 kb)
2. Zip Archive JIRA16656_before_rename.zip (21 kb)

Environment: Windows XP

Build: 7,576
Fixed in build: 8,651
Severity: High


 Description  « Hide
When renaming or moving package containing GUIDesigner forms, images and nested forms paths inside the forms are not updated.
The form containing nested forms becomes invalid as a result and its xml should be edited manually to fix the problem. Try to do it on 30 forms and you will probably understand why it seems important to me.
The bug is reproducible from IntelliJ 6.0(build 6180) up to 7576 build of IntelliJ 7.
Usability suggestion:
When path to nested form becomes invalid, all form is considered invalid (would be better to replace invalid nested form with panel and enable to update the path manually, the way it works with images)

 All   Comments   Work Log   Change History      Sort Order:
Dmitry Jemerov - 20 Dec 07 13:39
I wasn't able to reproduce this problem: in my tests, nested form paths are updated correctly. Could you please create a small test project reproducing the problem, and specify exactly what refactoring you perform?

The second part of your request is already submitted as IDEADEV-16889.


Sonia Ziv - 23 Dec 07 11:29
Hi, Dmitry!

Attached 2 projects: before and after renaming (Shift+F6 on package b name) package "b" to "common". You can see that both ImagesTab form, referencing ImagePanel & XYPanel embedded forms, and reference to img.gif in ImagePanel became invalid after renaming. Please fix this bug as soon as possible, don't wait for Diana final build. The test was done with 7.02 (build 7590)

Best Regards, Sonia Ziv


Dmitry Jemerov - 05 Aug 08 18:34
Find Usages and Rename for images used in forms also work properly now.

Alexander Chernikov - 13 Aug 08 19:03
8712: fix confirmed.