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 57458 - Cannot close projects
Summary: Cannot close projects
Status: VERIFIED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2005-04-04 23:25 UTC by Jesse Glick
Modified: 2005-12-16 16:28 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2005-04-04 23:25:28 UTC
projects/projectui/src/org/netbeans/modules/project/ui/ProjectUtilities.java
1.17 causes Close Project(s) to not do anything at all, at least if there are no
files open.
Comment 1 Jiri Rechtacek 2005-04-05 08:57:37 UTC
fixed. In PU was wrong return clause, returns false if no files opened by
project being closed. Added new test which covers this case.
Caused by the change applied only in NB4.2, not defect in NB4.1.

Checking in src/org/netbeans/modules/project/ui/ProjectUtilities.java;
/cvs/projects/projectui/src/org/netbeans/modules/project/ui/ProjectUtilities.java,v
 <--  ProjectUtilities.java
new revision: 1.18; previous revision: 1.17
done
Checking in test/unit/src/org/netbeans/modules/project/ui/OpenProjectListTest.java;
/cvs/projects/projectui/test/unit/src/org/netbeans/modules/project/ui/OpenProjectListTest.java,v
 <--  OpenProjectListTest.java
new revision: 1.3; previous revision: 1.2
done
Checking in test/unit/src/org/netbeans/modules/project/ui/ProjectUtilitiesTest.java;
/cvs/projects/projectui/test/unit/src/org/netbeans/modules/project/ui/ProjectUtilitiesTest.java,v
 <--  ProjectUtilitiesTest.java
new revision: 1.5; previous revision: 1.4
done
Comment 2 Marian Mirilovic 2005-12-16 16:28:46 UTC
verified in NB 5.0