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

Summary: TagHandler, ApplicationListener refactoring and find usages doesn't work
Product: javaee Reporter: Jindrich Sedek <jsedek>
Component: RefactoringAssignee: Erno Mononen <emononen>
Status: CLOSED FIXED    
Severity: blocker Keywords: REGRESSION
Priority: P1    
Version: 6.x   
Hardware: Sun   
OS: All   
Issue Type: DEFECT Exception Reporter:

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)