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

Summary: Modifies were lost while switching to another class
Product: java Reporter: ssazonov
Component: BeansAssignee: Ralph Ruijs <ralphbenjamin>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P2    
Version: 7.4   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: 00 default.png
01 first modify.png
02 switch to method.png
03 second modify.png
04 switch to another class.png
05 switch back.png
06 observe first modify.png
07 observe second modify

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 ***