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 131919 - TagHandler, ApplicationListener refactoring and find usages doesn't work
Summary: TagHandler, ApplicationListener refactoring and find usages doesn't work
Status: CLOSED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: Sun All
: P1 blocker (vote)
Assignee: Erno Mononen
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2008-04-03 12:36 UTC by Jindrich Sedek
Modified: 2008-04-07 14:29 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 Jindrich Sedek 2008-04-03 12:36:06 UTC
Create new WebApplication
Create new ApplicationListener using Wizard + set adding information into deployment descriptor
press finish
new file is generated and web.xml is updated correctly
invoke refactor/rename on newly created file -> no change is propagated into web.xml
invoke find usages -> no usages are found, but the one in web.xml should be found

this is regression against 6.0
Comment 1 Erno Mononen 2008-04-03 13:14:07 UTC
Reproduced. Caused by my fix for issue 130933, the conditional logic introduced by it is plain wrong. Straightforward 
to fix.
Comment 2 Erno Mononen 2008-04-03 13:45:58 UTC
Fixed in trunk, changeset f1b7db754d90. I'm setting the TM to Dev until this has been reviewed and ported to 6.1.
Comment 3 Jindrich Sedek 2008-04-03 17:46:01 UTC
verified in main, please merge into 6.1 clone
Comment 4 Erno Mononen 2008-04-07 09:48:30 UTC
Ported the fix to release61:

http://hg.netbeans.org/release61/rev/cd6c29922ce8
Comment 5 Jindrich Sedek 2008-04-07 13:36:57 UTC
verified in 6.1 clone
NetBeans IDE Dev (Build 080407)