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.
jdk6u2 build:200707231200 Steps to reproduce: 1. Migrate a project that uses datasources created in Creator, 5.5 or 5.5.1 2. Update Data sources dialog will appear indicating that the project is a migrated one. 3. Update the data sources through the Update Data Sources Context menu item. 4. Once completed make some changes to the project like adding a variable to Page1 and save it. Upon clearing the user dir and then reopening the project it again shows the Update Data source dialog indicating that it still thinks its an old project. This only happens with projects that use data sources. A project without data sources will not show the Update Data sources dialog when its reopened. I am attaching two projects. One is a Simple project with a button and the other is one that uses data sources. Only the one with data sources will demonstrate this issue.
Created attachment 45696 [details] Simple Project with button only
Created attachment 45697 [details] Project with data sources
if nothing affecting the functionality then I think this should be lowered to a P3
The project version in in the nbproject/project.xml is listed as 2.0 but should be 4.0 once the project has been imported, changed and saved in NB6.
The project version is used for 'the general project'. Individual components should maintain their own flag/version. E.g., comp#1 update to new version but not comp#2, project version can't just upgrade then.
Per guidelines, downgrading to a P3. But this should be fixed for FCS in my opinion
No, individual components should not have to maintain the version. I was told the project module changes the version of the project. This is a project issue.
*** Issue 112492 has been marked as a duplicate of this issue. ***
I had fixed the migration part for databases such that the Alert dialog no longer appears. Also, I removed the actions on the Data Source Reference node. Currently database migration process is done automatically without user action. The remaining issue is that every time a legacy project is opened (and no page from the designer opens) the database migration starts. In most cases, the user will open a page of the project after opening a project so that the next time the project is opened, migration won't occur. I think the priortity could be reduced to a P4
> The project version is used for 'the general project'. Individual components should maintain their own flag/version. > E.g., comp#1 update to new version but not comp#2, project version can't just upgrade then. As I said, you are using wrong API for checking migration. This API is for the 'the IDE that originally created this project'. We need to design another kind of flag to indicate the task is done or not by individual component. Please review again the above comment I put.
improved fix: Checking in visualweb/dataconnectivity/src/org/netbeans/modules/visualweb/dataconnectivity/datasource/DataSourceResolver.java; /cvs/visualweb/dataconnectivity/src/org/netbeans/modules/visualweb/dataconnectivity/datasource/DataSourceResolver.java,v <-- DataSourceResolver.java new revision: 1.19; previous revision: 1.18 done 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.21; previous revision: 1.20 done