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.
Summary: | Component Error-page can appear after opening of project, related to existing DB connection | ||
---|---|---|---|
Product: | obsolete | Reporter: | _ alexpetrov <alexpetrov> |
Component: | visualweb | Assignee: | John Baker <jbaker> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | romanmostyka |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 123537 | ||
Attachments: | IDE-screenshot |
Description
_ alexpetrov
2007-07-09 18:43:17 UTC
Created attachment 44841 [details]
IDE-screenshot
105321 might be the same issue it appears the current project is not set for this use case won't have time to get to this for beta1 I may have a fix, but I'm unable to test because of parser errors http://www.netbeans.org/issues/show_bug.cgi?id=118646 Found the API to use but now it's a matter of timing. It's getting called before a connection has been established RefreshService.getDefault().refresh(CurrentProject.getInstance().getOpenedProject()) ; Fix available for just one project at a time. Working on enabling for all pages from all open projects Seems to be a risky fix. My latest attempt makes things worse I have another fix if just one project and one page are opened. The connection is made and the page refreshes correctly. However, the fix won't work for multiple projects. Fixed Checking in visualweb/dataconnectivity/src/org/netbeans/modules/visualweb/dataconnectivity/datasource/CurrentProject.java; /cvs/visualweb/dataconnectivity/src/org/netbeans/modules/visualweb/dataconnectivity/datasource/CurrentProject.java,v <-- CurrentProject.java new revision: 1.23; previous revision: 1.22 done Checking in visualweb/dataconnectivity/src/org/netbeans/modules/visualweb/dataconnectivity/project/datasource/ProjectDataSourceTracker.java; /cvs/visualweb/dataconnectivity/src/org/netbeans/modules/visualweb/dataconnectivity/project/datasource/ProjectDataSourceTracker.java,v <-- Pr taSourceTracker.java new revision: 1.17; previous revision: 1.16 done Verified with NetBeans IDE Dev (Build 200801140000). Tried with NetBeans IDE 6.0.1 dev (Build 200801140000), but not successful. |