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.
If an InstanceDataObject has a special icon (from BeanInfo or from SystemAction) or a special name (from SystemAction) and the object is renamed, the icon/name do not update accordingly. Very low priority since few people would ever rename an IDO anyway.
You are working on some releated bugs, so I guess you could fix this one too?
I think, that it is work correctly.
Are you sure it is working correctly? E.g. in some folder create an empty file outside the IDE named org-openide-actions-CutAction.instance. Inside the IDE this should appear as an icon "Cut" with a scissors (= nuzky) icon. Rename inside the IDE to org-openide-actions-CopyAction.instance. The proper thing is for it to show "Copy" on the node and have a clipboard icon. But I think I tried this not long ago and it did not work (it stayed with the "Cut" name and scissors icon). Also it should change its InstanceCookie to be an instance of CopyAction instead of CutAction. You can test whether this happens by right-clicking on the node when API Support is installed, Tools | Bean Browse | Node, and explore its cookies. To repeat: this is really low priority, don't spend time on it if you have something more important.
Automated change of version from Other to Dev.
Version: 'Dev' -> 3.2
Target milestone -> 3.3
Target milestone -> 3.3.1.
I can try.
Fixed in http://www.netbeans.org/source/browse/openide/src/org/openide/loaders/InstanceNode.java.diff?r1=1.19&r2=1.19.6.1 and http://www.netbeans.org/source/browse/openide/src/org/openide/loaders/InstanceDataObject.java.diff?r1=1.113.2.1&r2=1.113.2.2 Honza please give me review.
The fix caused a regression (see unit test InstanceDataObjectTest). I was asked by Jarda to do a rollback of his change and close the bug as WONTFIX. If IDO is renamed just its name is changed and that is updated properly. Neither filename nor classname cannot be changed by renaming IDO(name is stored in the file attribute 'name'). Using filename for class storage was deprecated.
I would agree, WONTFIX seems reasonable for this reason.
Done. http://openide.netbeans.org/source/browse/openide/src/org/openide/load ers/InstanceDataObject.java.diff?r1=1.113.2.3&r2=1.113.2.4
Verified as wontfix.
Resolved for 3.4.x or earlier, no new info since then -> closing.