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 57095 - Wrong URL resolving
Summary: Wrong URL resolving
Status: CLOSED WONTFIX
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: API
Depends on:
Blocks: 54449
  Show dependency tree
 
Reported: 2005-03-29 09:23 UTC by Libor Kotouc
Modified: 2010-04-29 09:21 UTC (History)
1 user (show)

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 Libor Kotouc 2005-03-29 09:23:38 UTC
SourcePathProvider.getURL() method returns only first found absolute path for
given relative path.
This behavior is not sufficient in case of web modules with JSP breakpoints. If
two JSPs are placed on the same relative path then order in source path cache
implies a result of getURL() method. It results in displaying and annotation of
a wrong file.
One solution is to somehow compare web project's context and context field of
the request object/variable.
Comment 1 Jan Jancura 2005-03-29 09:35:13 UTC
Looks like this requirement requires some api changes. 
Do you need fix for nb4.1 or not. We are probably not able to fix it in the
current nb4.1 timeframe.
Comment 2 Libor Kotouc 2005-03-30 08:39:22 UTC
Agreement is to postpone this issue to the next release, thus setting promo-F as
target milestone.
Comment 3 Martin Entlicher 2006-08-30 18:49:57 UTC
I've implemented something for Java breakpoints in the past, so maybe it will be
applicable to JSPs as well - now when we have issue #83188 fixed.
I'll look at this...
Comment 4 Martin Entlicher 2006-09-02 11:15:40 UTC
It looks like breakpoints work fine now (this issue is lo longer blocking
#54449), do you have some other use-case when this needs to be fixed somehow?
Can you please verify that we can close this as wontfix now? Thanks.
Comment 5 Martin Entlicher 2006-09-04 17:08:13 UTC
Please see issue #54449 for comments on this, we need to do some redesign of
sources management, since the current design have usability problems. We'll pay
attention to solve the problem with multiple source roots for relative paths in
that redesign...
Comment 6 Quality Engineering 2010-04-29 09:21:51 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.