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: | Files are not properly replaced in layers | ||
---|---|---|---|
Product: | platform | Reporter: | Jan Lahoda <jlahoda> |
Component: | Filesystems | Assignee: | rmatous <rmatous> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | lahodaj, sdedic |
Priority: | P1 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Example (bug.tar.gz) |
Description
Jan Lahoda
2001-10-04 17:53:27 UTC
Only corrected summary. Created attachment 2852 [details]
Example (bug.tar.gz)
Caused by fix for #14794 The fix for this problem still preserving the fix for #14794 is to clear the content of the previous file if the new file of the same name is created, like in XMLFS.RssourceElem.addChild(): @@ -425,6 +424,7 @@ if (retVal != null) { children.put(name,retVal); retVal.urlContext.addAll (Arrays.asList(child.getUrlContext ())); + retVal.content=null; } else retVal = child; return retVal; } Please also see an (maybe related) issue #16219 Fixed in trunk. Thanks Petr. Only for reference, this bug also occurs in 200110050100. > Please also see an (maybe related) issue #16219 IMHO it can't be related. This is only about inlined contents (not <file url=...) and only inside single XMLFS, not between several XMLFSs in MFS. >Only for reference, this bug also occurs in 200110050100. Honzo, could you please verify the fix on newer build? I tested 200110080100, and it works OK. Tested via attached example and CPPLite. Resolved for 3.4.x or earlier, no new info since then -> closing. |