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 19724

Summary: Bean Customizer is not refreshed on new invocation
Product: java Reporter: Marian Mirilovic <mmirilovic>
Component: UnsupportedAssignee: issues@java <issues>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P3    
Version: 3.x   
Hardware: Sun   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 15373    
Bug Blocks:    
Attachments: Patch for JavaDataObject

Description Marian Mirilovic 2002-01-24 14:38:09 UTC
[nb_dev](20020124) on [jdk1.3.1](02) and [jdk1.4](91)

Steps to reproduce:
- create bean
- add property "xxxx"
- compile
- push "Customize Bean" from popup
-> Bean Customizer arise and property "xxxx" is visible
- Close customizer
- add property "yyyy"
- compile
- push "Customize Bean" from popup
-> Bean Customizer arise and only property "xxxx" is visible, property "yyyy"
isn't displayed in this customizer


It seems like displayed Bean Customizer is the same as previous displayed(means
the same instance). If you now push from Memory | Garbage Collect and invoke
Customize once more, right Costumizer with both properties is displayed.

P2:
It's useless if user want customize Bean will wait until old instace isn't
garbaged or run G. Collector before Bean Customizing.
Comment 1 David Strupl 2002-01-24 14:44:16 UTC
P3: no crash, no data lost, almost no functionality lost, who uses
customize bean anyway?
Comment 2 David Strupl 2002-02-27 15:07:19 UTC
JavaDataObject is trying to remove a cookie created by its factory.
Ability to remove the once registered factory is needed.
Comment 3 David Strupl 2002-02-28 15:15:01 UTC
Created attachment 4864 [details]
Patch for JavaDataObject
Comment 4 David Strupl 2002-02-28 15:16:40 UTC
Patch for JavaDataObject is attached. Please don't forget to declare
that java module with this patch applied depends on openide version 2.6.
Comment 5 Svata Dedic 2002-03-22 15:57:49 UTC
/cvs/java/manifest.mf,v  <--  manifest.mf
new revision: 1.54; previous revision: 1.53
/cvs/java/src/org/netbeans/modules/java/JavaDataObject.java,v  <-- 
JavaDataObject.java
new revision: 1.152; previous revision: 1.151

Comment 6 Marian Mirilovic 2002-03-29 09:48:26 UTC
verified in [nb_dev](20020329)
Comment 7 Quality Engineering 2003-07-01 13:15:46 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.