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 100725 - Current project is not detected when page has binding errors
Summary: Current project is not detected when page has binding errors
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: PC All
: P1 blocker (vote)
Assignee: John Baker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-12 04:42 UTC by John Baker
Modified: 2007-07-09 18:43 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 John Baker 2007-04-12 04:42:11 UTC
If 2 visualweb projects are opened and one project has a page with database
binding errors, opens when the IDE starts then the page can't be corrected.

The problem is the datasource for the 2nd project is used to resurrect the page
due to a problem with detecting the project that owns the Component error page.

Need to fix the logic for detecting the current project when Component Error
page opens
Comment 1 John Baker 2007-04-13 01:45:24 UTC
Fixed
Comment 2 _ alexpetrov 2007-06-29 16:46:11 UTC
Product Version: NetBeans IDE 6.0M10 (build 200706260050) 
Java: 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06 System: 
Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)

Still reproduced on NB VWP 6.0 M10
Comment 3 John Baker 2007-07-03 17:56:51 UTC
fix available
Comment 4 John Baker 2007-07-03 19:33:04 UTC
Fixed

$ cvs commit
visualweb/dataconnectivity/src/org/netbeans/modules/visualweb/dataconnectivity/explorer/ProjectDataSourceNode.java
Checking in
visualweb/dataconnectivity/src/org/netbeans/modules/visualweb/dataconnectivity/explorer/ProjectDataSourceNode.java;
/cvs/visualweb/dataconnectivity/src/org/netbeans/modules/visualweb/dataconnectivity/explorer/ProjectDataSourceNode.java,v
 <--  ProjectDataSourceNode.
java
new revision: 1.8; previous revision: 1.7
done
Comment 5 _ alexpetrov 2007-07-09 18:43:55 UTC
Verified on 
Product Version: NetBeans IDE Dev (Build 200707090000) 
Java: 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06 
System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)

See the related issue http://www.netbeans.org/issues/show_bug.cgi?id=109163