Issue 88426 - Add option to transfer personal data/settings of OOo 2.x to StartUp Wizard
Summary: Add option to transfer personal data/settings of OOo 2.x to StartUp Wizard
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: DEV300m9
Hardware: All All
: P2 Trivial (vote)
Target Milestone: OOo 3.0
Assignee: Olaf Felka
QA Contact: issues@framework
URL:
Keywords:
: 89373 (view as issue list)
Depends on:
Blocks: 88888
  Show dependency tree
 
Reported: 2008-04-18 09:26 UTC by Olaf Felka
Modified: 2008-10-21 12:29 UTC (History)
8 users (show)

See Also:
Issue Type: TASK
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Olaf Felka 2008-04-18 09:26:47 UTC
- OOo Dev300 offers to take over User Data from OOo 1.x/SO7
- OOo 1.x is pretty outdated and most people use OOo 2.x
- we should remove the option to take over user data of OOo 1.x
- we should offer to take over user data of OOo 2.x
- and we should do it once and prevent the user from rerunning the StartUp
Wizard after each OOo update
Comment 1 Olaf Felka 2008-04-18 09:57:42 UTC
CCing ufi
Comment 2 Mathias_Bauer 2008-04-18 12:28:50 UTC
The data migration 2.x->3.0 is already planned and this time it will be simple
because with two simple exceptions the data stays compatible between both
releases. So the migration means copying data.

We don't offer a migration for a beta release. So I agree that in beta we should
remove/skip that page.
Comment 3 Olaf Felka 2008-05-07 14:56:41 UTC
CCed gw
Comment 4 Olaf Felka 2008-05-13 10:18:25 UTC
Changing summary
Comment 5 Olaf Felka 2008-05-13 10:19:43 UTC
*** Issue 89373 has been marked as a duplicate of this issue. ***
Comment 6 Olaf Felka 2008-06-02 07:16:14 UTC
OF: Any progress with this issue? I think that this should be testable in a beta
refresh.
Comment 7 Martin Hollmichel 2008-06-12 09:55:31 UTC
reassign to mba.
Comment 8 cno 2008-07-02 07:44:53 UTC
pls consider enhancement 55230 for this issue.
Comment 9 Mathias_Bauer 2008-07-04 07:25:02 UTC
Code for migration from OOo1->OOo2 is still working. A new detection of an
existing user profile is needed and a new list of files and settings for
migration in Setup.xcu.
Comment 10 cno 2008-07-04 07:41:54 UTC
> new detection of an existing user profile is needed 

Pls make sure that it detects an existing 3.x profile first, before starting to
offer transfer of a 2.x profile.
Comment 11 Olaf Felka 2008-07-04 07:48:28 UTC
I'm not sure whether we still need the migration of OOo 1.x settings. It has
never been really satisfying.
Comment 12 cno 2008-07-04 07:56:57 UTC
Of course. I see no one asking for migration of OOo 1.x settings ...
Comment 13 Mathias_Bauer 2008-07-04 08:57:24 UTC
Migration will happen only for 2.x->3.0

And of course the migration will not be done if an OOo3 user profile already
exists. We already fixed the bug that migration is offered at any update a long
time ago (IIRC in OOo2.0.3 or so).
Comment 14 Olaf Felka 2008-07-04 09:07:33 UTC
But even this hasn't been working in every case. We can't figure out what might
be the reason that sometimes the StartUp Wizard appears after an update.
Comment 15 Mathias_Bauer 2008-07-04 09:43:30 UTC
That's something different. Even if the Wizard might appear for unknown reasons
(does it really?) the wizard shouldn't offer a migration if that was done
already. Some time ago we added a configuration switch when migration has been
done that should be sufficient to guarantee that.
Comment 16 andreschnabel 2008-07-04 09:54:59 UTC
@mba: 
I agree, that the configuration switch should be enough to guarrantee, that the
migration is not triggered a second time.

unfortunately we must not relay on existing code for that, as it never really
worked (see issue 59599)
Comment 17 Mathias_Bauer 2008-07-04 10:05:35 UTC
Thanks for the heads-up, I didn't know that the fix for issue 59599 made by lo
two years ago didn't work. I will invest some time to review that fix.
Comment 18 joachim.lingner 2008-07-10 09:36:31 UTC
Due to a fix regarding basic libraries, extensions would have the status unknown
after migration. The migration service will take care of this. 
@QA: Please test the migration of extensions which contain basic libraries and
dialogs. Extensions which are disabled in OOo 2 should also be disabled after
the migration.
Comment 19 Mathias_Bauer 2008-07-16 14:13:03 UTC
For OOo2.0 we implemented a generic migration service. It reads from
configuration (setup.xcu) what files it shall copy from the old user profile to
the new one and which configuration tree nodes shall be copied. For more
complicated cases the migration services allows to register additional services
that migrate arbitrary data.

For OOo3.0 we will migrate the following:

the files:

database/biblio/biblio\.dbf
config/javasettings_.*\.xml
autotext/.*
autocorr/.*
config/.*\.so[bcdegh]
config/soffice.cfg/modules/.*/toolbar/custom.*\.xml
config/soffice.cfg/modules/.*/images/.*
gallery/.*
template/.*

the configuration nodes:

org.openoffice.Office.DataAccess
org.openoffice.Office.DataAccess/Bibliography
org.openoffice.Office.DataAccess/ConnectionPool
org.openoffice.Office.DataAccess/DataSources
org.openoffice.Office.DataAccess/DriverManager
org.openoffice.Inet
org.openoffice.UserProfile
org.openoffice.Office.Compatibility
org.openoffice.Office.Custom
org.openoffice.Office.Embedding
org.openoffice.Office.Events
org.openoffice.Office.ExtendedColorScheme
org.openoffice.Office.Common/Accessibility
org.openoffice.Office.Common/Accessibility/AutoDetectSystemHC
org.openoffice.Office.Common/AsianLayout
org.openoffice.Office.Common/AutoCorrect
org.openoffice.Office.Common/Cache
org.openoffice.Office.Common/DateFormat
org.openoffice.Office.Common/ExternalMailer/Program
org.openoffice.Office.Common/Filter
org.openoffice.Office.Common/Font
org.openoffice.Office.Common/Forms
org.openoffice.Office.Common/Gallery
org.openoffice.Office.Common/Help (without sub node "Registration")
org.openoffice.Office.Common/History
org.openoffice.Office.Common/I18N
org.openoffice.Office.Common/InternalMSExport
org.openoffice.Office.Common/Load
org.openoffice.Office.Common/Misc/FormControlPilotsEnabled
org.openoffice.Office.Common/Misc/PluginsEnabled
org.openoffice.Office.Common/Misc/SymbolSet
org.openoffice.Office.Common/Misc/UseSystemFileDialog
org.openoffice.Office.Common/Misc/UseSystemPrintDialog
org.openoffice.Office.Common/Misc/SymbolStyle
org.openoffice.Office.Common/Passwords
org.openoffice.Office.Common/Print/PrintingModifiesDocument
org.openoffice.Office.Common/Print/Warning
org.openoffice.Office.Common/Vectorize
org.openoffice.Office.Common/Save
org.openoffice.Office.Common/SearchOptions
org.openoffice.Office.Common/Undo
org.openoffice.Office.Common/View/Dialog/Dialog/MiddleMouseButton
org.openoffice.Office.Common/View/Dialog/MousePositioning
org.openoffice.Office.Common/View/Localization
org.openoffice.Office.Common/View/Menu
org.openoffice.Office.Common/_3D_Engine (without sub node "OpenGL")
org.openoffice.Office.Calc
org.openoffice.Office.Chart
org.openoffice.Office.Draw
org.openoffice.Office.Impress
org.openoffice.Office.Labels
org.openoffice.Office.Linguistic (without sub node "ServiceManager")
org.openoffice.Office.Math
org.openoffice.Office.Security
org.openoffice.Office.UI/ColorScheme
org.openoffice.Office.Writer (without sub node "Wizard")
org.openoffice.Office.WriterWeb

The following services are used:

com.sun.star.migration.Wordbooks for migration of user wordbooks
com.sun.star.migration.Extensions for migration of extensions
com.sun.star.migration.Basic for migration of user macros



Comment 20 Mathias_Bauer 2008-07-16 14:17:27 UTC
As the ability to copy services and configuration nodes is still unchanged code
from OOo2 I think a complete testing doesn't make sense. At best a sample should
suffice (if necessary at all).

The most interesting part for testing are the services.

The wordbook migration service should migrate all user wordbooks from
user/wordbook but it should leave behind all user dictionaries installed via
dictooo.

The extension migration service should migrate all extensions installed in the
old user profile. It might be necessary to restart OOo to get them working again.

The basic migration service should migrate all macros and dialogs in user/basic.
Comment 21 Mathias_Bauer 2008-07-16 14:20:27 UTC
In setup.xcu the usable profiles are listed: OpenOffice.org2, StarOffice8,
StarSuite8. In case the user has an OOo2 and a StarOffice8 profile, an OOo
installation should take the OOo profile (and a StarOffice installation the SO
profile). In case only one profile is available, both installations should
migrate this profile.
Comment 22 Mathias_Bauer 2008-07-23 12:41:02 UTC
please verify
Comment 23 Olaf Felka 2008-07-24 12:34:06 UTC
OF: Is ok in cws userdatamigration .
Comment 24 Olaf Felka 2008-10-21 12:29:36 UTC
OF: Looks good for me in OOO300_m9.