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 237823 - More predicates for single file does not work
Summary: More predicates for single file does not work
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Features On Demand (show other bugs)
Version: 7.2
Hardware: PC Mac OS X
: P3 normal with 1 vote (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks: 222295
  Show dependency tree
 
Reported: 2013-10-30 17:47 UTC by Tomas Zezula
Modified: 2016-01-10 09:57 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Patch file (647 bytes, patch)
2013-10-30 17:49 UTC, Tomas Zezula
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Zezula 2013-10-30 17:47:39 UTC
When there are more path predicates for single file separated by ',' only one of them is used.
Comment 1 Tomas Zezula 2013-10-30 17:49:00 UTC
Created attachment 141716 [details]
Patch file
Comment 2 Tomas Zezula 2013-10-30 17:49:13 UTC
Added proposed fix.
Comment 3 Jaroslav Tulach 2013-11-21 13:49:45 UTC
I can't recall what was the problem. As such I am not able to write a test and verify the fix fixes something. Can you please remind me, Tomáši?
Comment 4 Tomas Zezula 2013-11-21 18:16:17 UTC
The problem is when having:

project.xpath.pom.xml=project/packaging[contains(text(),'fx')],//executable[contains(text(),'javafxpackager')]

there are 2 xpath for single file: pom.xml but only one of these xpaths is checked (random depending on hash).