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 12700 - InternalError after copy and cut on properties data object
Summary: InternalError after copy and cut on properties data object
Status: CLOSED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Properties (show other bugs)
Version: 3.x
Hardware: PC All
: P3 blocker (vote)
Assignee: issues@utilities
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-06-08 15:42 UTC by Petr Slegr
Modified: 2003-07-01 14:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stacktrace (900 bytes, text/plain)
2001-06-08 15:44 UTC, Petr Slegr
Details
stacktrace (900 bytes, text/plain)
2001-06-08 15:45 UTC, Petr Slegr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Slegr 2001-06-08 15:42:31 UTC
1. create new PropertiesDataObject named e.g. Foo
2. add new key into default locale
3. copy default locale node and paste it to the same parent (i.e Foo) -> new 
locale node will be created (named "1 - 1")
4. cut default locale node and paste it also to parent Foo

Now Foo will be renamed to Foo_2 and InternalError will occurr.
Comment 1 Petr Slegr 2001-06-08 15:44:40 UTC
Created attachment 1522 [details]
stacktrace
Comment 2 Petr Slegr 2001-06-08 15:45:25 UTC
Created attachment 1523 [details]
stacktrace
Comment 3 Peter Zavadsky 2001-06-27 09:26:32 UTC
Fixed in [main-trunk]. Next build available.

Cut/paste to the same object is forbidden.
InternalError is replaced by IllegalStateException.
Comment 4 pfelenda 2002-10-18 11:26:31 UTC
Verified in dev [200210160100].
Comment 5 Quality Engineering 2003-07-01 14:20:50 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.