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 8447 - Moving package (if contains at least one read only file) couses lost of your DATA !!! (FSException is thrown)
Summary: Moving package (if contains at least one read only file) couses lost of your ...
Status: CLOSED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@platform
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-11-16 16:13 UTC by dmladek
Modified: 2008-12-23 11:52 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
FSException (6.56 KB, text/plain)
2001-07-20 20:39 UTC, dmladek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dmladek 2000-11-16 16:13:32 UTC
[1152CE] installer class
jdk1.3.0_01-PFCS SUN
=========================

I've discovered this serious bug. Probably it's in DataLoaders.
If you CUT & PASTE package which contains one or more read only files
(doesn't matter what type) to different destination than it is now.
You receive the org.openide.filesystems.FSException (see attachment)
AND !!! Moving continues AND ALL original LOCATION is deleted
AND in NEW ONE there aren't ANY source (JAVA) file !!!!
You've get lost your sources !!!

Steps to reproduce:
===================
1. Mount normal FS.
2. create package pokus.aaa
3. somehow copy whole demo from jdk to your package aaa
   (cp -R $JAVAHOME/demo/ $FS/pokus/aaa). Note that sounds files (au) in
   package sounds.xxx... are read-only. Also note that in subpackages
   of demo exist java, class, html, ... file's types.
4. Right click on pokus.aaa.demo package choose CUT (or ^X)
5. Right click on root of FS and choose PASTE (or ^V)
6. Check now some packages from $FS/demo and look for source files (java)
   You won't find ANYTHING !!!!
Comment 1 dmladek 2000-11-16 16:20:59 UTC
Created attachment 320 [details]
FSException
Comment 2 Svata Dedic 2000-11-16 16:30:59 UTC
*** This bug has been marked as a duplicate of 8446 ***
Comment 3 dmladek 2001-02-06 20:49:59 UTC
Marked as Verified
Comment 4 Quality Engineering 2003-07-01 16:14:18 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.