This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 114458 - Refactoring is not Struts-aware
Summary: Refactoring is not Struts-aware
Status: RESOLVED DUPLICATE of bug 74556
Alias: None
Product: obsolete
Classification: Unclassified
Component: webl (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-02 18:29 UTC by jfurmankiewicz
Modified: 2007-11-07 14:30 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jfurmankiewicz 2007-09-02 18:29:30 UTC
I created a Struts Action and it created both the class and the entry in struts-config.xml

Next, I decided to refactor the class and change its name. After successful completion, the struts-config.xml entry was
not updated with the new class name, i.e. it was still referring to the old class name.

Hence, refactoring a Struts Action corrupts the struts-config.xml file and renders the application useless once deployed.

Tested on 6.0M10, JDK 1.6._02, Ubuntu, Glassfish
Comment 1 jfurmankiewicz 2007-09-02 19:27:07 UTC
BTW, same thing happens on ActionForms. Renamed a form, its definition in struts-config.xml did not get updated accordingly.
Comment 2 Jiri Prox 2007-09-17 21:39:59 UTC
Obsolete milestone, please reevaluate
Comment 3 Erno Mononen 2007-11-07 14:30:38 UTC

*** This issue has been marked as a duplicate of 74556 ***