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.
Build 200110030100 Jdk1.3.1 How to reproduce: 1.Uninstall an Editor module 2.Use AutoUpdate for instalation of Editor module from Pilsen 3.Change some settings (Keyword's color, font size, ....) of Java Editor 4. Restart IDE 5. The default settings are used after restart *** When you open a Options (Tools->Options) then user's setting are used ***
Reproduce: 1. change some property 2. uninstall editor 3. install editor 4. changed property is not restored. The problem affects only properties that XML file already exists on disk. XMLDataObject.Processor attached DO, and after reinstalling of editor, DO is the same and it keeps the old editor class, with old classloader.
I was told to raise a priority because this migth be a general issue concerning settings.
so if I understand it correctly then problems only happen if you go from new version of the editor back to an older version. They wouldn't happen if the new version of the editor is never installed in the first place. Am I right?
The problem is that if you have a new editor installed and you will uninstall it its xml settings files still lives. And DO of these files are still attached to XMLDataObject.Processor. That's why if you again install editor, new instancess of editor's XMLDO.Processors aren't attached. Then XML settings files are invisible. I am working on it. The DO have to be deattached after editor uninstallation.
So only these settings are lost, that are setted after uninstall/install operation.
It seems that problem is in openide. This also affects Annotation Types (and probably other modules) . The problem is in xml entities resolvers. For details see the bug #16265
I've tried following: I've took a new build (zip file) and removed all possible module from <netbeans>/modules/ *.jar directory except for an autoupdate.jar and next an appropriate *.xml from <netbeans>/system/Modules directory. I'v got a build containg only IDE Core and AutoUpdate module. When I installed editor and java module to IDE via AutoUpdate then the behaviour was same as I described previously. The 3.3 editor never was instaled into IDE.
Aha, thanks for that info. Firstly I thought that problem you were depicted is affected by the bug #16265 that occurs after uninstallation of editor. But it seems that this is different one. So you have the core+openide from NB 3.3 and java and editor from (Pilsen, say NB 3.2) The settings in NB 3.2 aren't serialized via editor. Openide or projects do that. Now I am not sure where the problem should be, but definitely it is not in editor. In my opinion it could be problem of autoupdate, openide or projects. Now I am reassiging this bug to autoupdate. (although it could be openide or project issue.)
Not autoupdate bug. It's duplicate of #16219 IMHO. *** This issue has been marked as a duplicate of 16219 ***
Verified
Resolved for 3.3.x or earlier, no new info since then -> closing.