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: | DataShadow's to disk files no longer work w/o mounted filesystems | ||
---|---|---|---|
Product: | platform | Reporter: | Jesse Glick <jglick> |
Component: | Data Systems | Assignee: | David Konecny <dkonecny> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | jtulach, rmatous |
Priority: | P2 | Keywords: | API, REGRESSION |
Version: | 4.x | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Example exception, after copying /space/src/nb_all/openide/execution/deprecated/.cvsignore and pasting to Menu/&Misc in the system filesystem
Resulting $userdir/config/Menu/&Misc/.cvsignore.shadow |
Description
Jesse Glick
2004-04-16 22:16:58 UTC
Created attachment 14435 [details]
Example exception, after copying /space/src/nb_all/openide/execution/deprecated/.cvsignore and pasting to Menu/&Misc in the system filesystem
Created attachment 14436 [details]
Resulting $userdir/config/Menu/&Misc/.cvsignore.shadow
*** Issue 42690 has been marked as a duplicate of this issue. *** Suggest that it be possible to use a URL rather than a String for the 'originalFile' attr (in which case the 'originalFileSystem' attr would be illegal); to be resolved using URLMapper in DataShadow.read; and that DataShadow.writeOriginal create only the new syntax (use FileObject.getURL). *** Issue 42840 has been marked as a duplicate of this issue. *** *** Issue 42461 has been marked as a duplicate of this issue. *** FYI: It was easy to fix, but then I had problems with unit tests testing "sloweness" ob DataShadows. That took me lot of time and result is filed as issue 43141. It is not serious issue because IMO it is not very common usecase. It was just used that way from the test which was creating hundreds of shadow in one folder which each must be assigned unique filename. I changed test to create DataShadow with unique name and do not depend on FileUtil.findFreeFileName. Fixed in: Checking in openide-spec-vers.properties; new revision: 1.143; previous revision: 1.142 Checking in api/doc/changes/apichanges.xml; new revision: 1.199; previous revision: 1.198 Checking in loaders/src/org/openide/loaders/BrokenDataShadow.java; new revision: 1.9; previous revision: 1.8 Checking in loaders/src/org/openide/loaders/DataShadow.java; new revision: 1.10; previous revision: 1.9 Checking in loaders/src/org/openide/loaders/ShadowChangeAdapter.java; new revision: 1.4; previous revision: 1.3 Checking in test/unit/src/org/openide/loaders/DataShadowBrokenSlownessTest.java; new revision: 1.2; previous revision: 1.1 Checking in test/unit/src/org/openide/loaders/DataShadowSlowness39981Test.java; new revision: 1.2; previous revision: 1.1 Checking in test/unit/src/org/openide/loaders/DataShadowTest.java; new revision: 1.7; previous revision: 1.6 Yarda, could you please test the fix in your Favorites modules and reopen if there are any problems? Thanx. Closed, too old |