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 234082 - Modifies were lost while switching to another class
Summary: Modifies were lost while switching to another class
Status: RESOLVED DUPLICATE of bug 222283
Alias: None
Product: java
Classification: Unclassified
Component: Beans (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-07 13:47 UTC by ssazonov
Modified: 2013-08-19 07:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
00 default.png (145.54 KB, image/png)
2013-08-07 13:48 UTC, ssazonov
Details
01 first modify.png (156.45 KB, image/png)
2013-08-07 13:48 UTC, ssazonov
Details
02 switch to method.png (160.22 KB, image/png)
2013-08-07 13:48 UTC, ssazonov
Details
03 second modify.png (148.92 KB, image/png)
2013-08-07 13:48 UTC, ssazonov
Details
04 switch to another class.png (166.00 KB, image/png)
2013-08-07 13:49 UTC, ssazonov
Details
05 switch back.png (150.61 KB, image/png)
2013-08-07 13:49 UTC, ssazonov
Details
06 observe first modify.png (153.98 KB, image/png)
2013-08-07 13:49 UTC, ssazonov
Details
07 observe second modify (158.57 KB, image/png)
2013-08-07 13:50 UTC, ssazonov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ssazonov 2013-08-07 13:47:41 UTC
1. Open NB and create new java project (name it "SimpleProject", if possible)

2. Copy attached code to SimpleProject.java

3. Right click SimpleProject.java > BeanInfo Editor... > Confirm dialog

4. Open both files as shown on "00 default.png"

-------------------------

5. Make some modifies in Properties as shown on "00 default.png" vs. "01 first modify.png"

6. Make some over modifies as shown on "02 switch to method.png" vs. "03 second modify.png"

Note, that SimpleProjectBeanInfo.java was changed so caption of this class is bold

7. Switch to another class (see "04 swtch to another class.png")

8. Switch back (see "05 swtch back.png")

Now, let's observe previous modifies

9. Observe first modify (see "06 observe first modify.png")

10. Observe second modify (see "07 observe second modify.png")

>> changes have been discarded (compare "01 first modify.png" and "06 observe first modify.png", 03 second modify.png" and "07 observe second modify.png")


Product Version: NetBeans IDE Dev (Build 201308062300)
Java: 1.7.0_40-ea; Java HotSpot(TM) 64-Bit Server VM 24.0-b55
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-ea-b37
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 1 ssazonov 2013-08-07 13:48:05 UTC
Created attachment 138396 [details]
00 default.png
Comment 2 ssazonov 2013-08-07 13:48:20 UTC
Created attachment 138397 [details]
01 first modify.png
Comment 3 ssazonov 2013-08-07 13:48:36 UTC
Created attachment 138398 [details]
02 switch to method.png
Comment 4 ssazonov 2013-08-07 13:48:56 UTC
Created attachment 138399 [details]
03 second modify.png
Comment 5 ssazonov 2013-08-07 13:49:12 UTC
Created attachment 138400 [details]
04 switch to another class.png
Comment 6 ssazonov 2013-08-07 13:49:32 UTC
Created attachment 138401 [details]
05 switch back.png
Comment 7 ssazonov 2013-08-07 13:49:49 UTC
Created attachment 138402 [details]
06 observe first modify.png
Comment 8 ssazonov 2013-08-07 13:50:24 UTC
Created attachment 138403 [details]
07 observe second modify
Comment 9 Ralph Ruijs 2013-08-19 07:43:53 UTC

*** This bug has been marked as a duplicate of bug 222283 ***