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.
Summary: | Bpel module duplication occurs when import is added in a schema file. | ||
---|---|---|---|
Product: | xml | Reporter: | htt <htt> |
Component: | Catalog Support | Assignee: | Samaresh Panda <samaresh> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P1 | ||
Version: | 5.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
htt
2007-02-27 00:37:10 UTC
Not considered Beta showstopper. Not stopper for Beta Removed Beta EP551_WAIVER_APPROVED keyword - we are going forward to FCS. Looks like this issue applies to a JavaApp project as well, not just specific to BPEL, i.e. it might be an issue in retriever as nnguyen had suggested. This is issue of retriever Utilities.relativize() return relative path value start with project directory name. The relative path should not start with project directory name. Even though retriever functionality still works, the project directory structure get messed up and also the cached temporary files will be version controlled. Probably this is a show-stopper. Looking into it. I have a fix, I've sent it for review. The fix is in retriever module. Here is the diff: Index: org/netbeans/modules/xml/retriever/catalog/Utilities.java =================================================================== RCS file: /cvs/xml/retriever/src/org/netbeans/modules/xml/retriever/catalog/Util ities.java,v retrieving revision 1.1.2.14.12.2 diff -r1.1.2.14.12.2 Utilities.java 227c227,228 < StringBuilder slaveResult = new StringBuilder(slaveLast); --- > StringBuilder slaveResult = masterLast.equals(slaveLast)? > new StringBuilder():new StringBuilder(slaveLast); 228a230 > if(slaveResult.length() != 0) 831c833,834 < if(pubcatURI != null){ --- > if(pubcatURI != null){ > Note that the we have passed the code-freeze date/time for this module. Fix looks goods. Please make sure we also have unit test for this issue directly on the problem Utilities.relativize() method. Fix integrated with unit test. /cvs/xml/retriever/src/org/netbeans/modules/xml/retriever/catalog/Utilities.java new revision: 1.4; previous revision: 1.3 /cvs/xml/retriever/test/unit/src/org/netbeans/modules/xml/retriever/RetrieverTest.java RetrieverTest.java new revision: 1.3; previous revision: 1.2 Because Beta has been put in the freezer the fix is VERIFIED in Hula build 200703271800. |