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 42788 - Changes made in Resolve Configuration Problems wizard not saved
Summary: Changes made in Resolve Configuration Problems wizard not saved
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: David Konecny
Depends on:
Blocks: 41535
  Show dependency tree
Reported: 2004-05-04 19:57 UTC by Jesse Glick
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2004-05-04 19:57:03 UTC
I tried ant/project/eg/brokenproj and fixed three
problems (all but Java platform; it gave me an
NPE, filed separately). Seems to have worked for
the most part, but I noticed that at least a
change to (setting a relative
path to a subproject) was not saved to disk. I had
to go into the project properties dialog and click
OK to ensure the change was written to disk.
Missing a call to ProjectManager.saveProject
somewhere I think.

Also be careful that this dialog is not open at
the same time as the properties dialog, or they
could clash (one could clobber the other).
Comment 1 David Konecny 2004-05-05 10:48:23 UTC
I did not know I have to explicitely save project. And I also did not
update properties under write lock what was clearly mistake.

new revision: 1.2; previous revision: 1.1

Re. NPE in platform: I guess it was problem in java/platform otherwise
you would file it against me.

Re. not opening ResolveConfigurationProblems dialog at the same time
as Project Properties: I could disable RCP action when PP is visible,
but I'm not sure users would understand it. RCP is modal so vice versa
scenario is not possible. Generally I would say that it is problem of
PP. If it can be open as modeless dialog than it must expect that
there might be external changes - e.g. RCP but more generally user can
modify file, etc.