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 49803 - context.xml visual editor saving problem
Summary: context.xml visual editor saving problem
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Nam Nguyen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-01 15:24 UTC by Martin Adamek
Modified: 2005-05-03 18:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception on Save displayed in console (6.01 KB, text/plain)
2004-10-01 15:25 UTC, Martin Adamek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Adamek 2004-10-01 15:24:29 UTC
- IDE build: 041001 (my build)
- on Beta2 it's working (branch was created before
commit of ConfigBeanTopComponent from 1.18 to 1.19)

To reproduce:
- open config.xml in visual editor (double-click)
- change Context Path
- save file
- ERROR - in the console you can see exceptions
- close file
- again open config.xml in visual editor
(double-click)
- ERROR - new editor tab is open, but visual
editor is disabled (not displayed)

Comment: when you open file in XML editor
(popup->Edit), you can see Context path is
changed; if you want to visual editor work
correctly again, you have to make some change to
XML editor and save it, or restart IDE.

Saving of config.xml in visual editor stopped to
work correctly between ConfigBeanTopComponent CVS
versions 1.18 and 1.19. When I build IDE with
1.18, saving is working, with 1.19 it's not.
Comment 1 Martin Adamek 2004-10-01 15:25:27 UTC
Created attachment 17976 [details]
Exception on Save displayed in console
Comment 2 Martin Adamek 2004-10-01 16:05:50 UTC
of course, it's context.xml :-)