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 143571 - Import Settings: Spec for db module is imported incorrectly
Summary: Import Settings: Spec for db module is imported incorrectly
Status: RESOLVED INVALID
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: David Vancouvering
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-12 09:37 UTC by Roman Mostyka
Modified: 2008-08-14 11:26 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 Roman Mostyka 2008-08-12 09:37:41 UTC
1. Install NetBeans 6.1 and NetBeans 6.5.
2. Start NetBeans 6.1. Userdir for it is created.
3. Start NetBeans 6.5 and reject import of settings. New file
Services/org-netbeans-modules-db-explorer-DatabaseOption.settings is created and spec for db module is:
<module name="org.netbeans.modules.db/1" spec="1.28.0.28"/>.
4. Remove userdir for NetBeans 6.5, start it again and confirm import of settings.

Result: Old file Services/org-netbeans-modules-db-explorer-DatabaseOption.settings is imported and spec for db module is:
<module name="org.netbeans.modules.db/1" spec="1.25.1.5"/>. But it is NetBeans 6.5 and spec for db module is new and has
different number: "1.28.0.28".
Comment 1 Lukas Hasik 2008-08-12 18:06:25 UTC
the import of settings just copies the file from old userdir into new one. No more logic. It is up to the module what
happens with the imported setting. 

reassigning to the module owner
Comment 2 Andrei Badea 2008-08-12 18:23:20 UTC
What is the user-visible problem exactly?
Comment 3 Roman Mostyka 2008-08-12 18:29:00 UTC
I think there is no user-visible problem, just spec for db module is wrong, nothing more. :)
Comment 4 Andrei Badea 2008-08-14 11:26:40 UTC
The spec is not wrong. When you import the settings file from 6.1, you get the old file, which was created in and older
(6.1) version of the DB Explorer.