Issue 119113

Summary: bundled dictionaries are not available when upgrading OOo 3.3
Product: Installation Reporter: Oliver-Rainer Wittmann <orw>
Component: codeAssignee: Andre <awf.aoo>
Status: CLOSED FIXED QA Contact:
Severity: Normal    
Priority: P3 CC: awf.aoo, jsc, louqingle
Version: 3.4.0Flags: jsc: 3.4_release_blocker+
Target Milestone: ---   
Hardware: PC   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description Oliver-Rainer Wittmann 2012-03-23 10:05:07 UTC
AOO 3.4 provides bundled dictionaries for en-US - see /main/extensions.lst

These are available when AOO 3.4 (latest developer snapshot, rev. 1303653) installed on a 'clean' system.
If an OOo 3.3 installation is existing which is upgraded by installing AOO 3.4, the bundled extensions are not available.

May be the migration of the previously in OOo 3.3 installed extension is here conflicting with the installation of the bundled dictionaries.
Comment 1 Andre 2012-04-02 07:28:16 UTC
One possible cause is the place in the code from where the installation of the bundled extensions is triggered.  That is in main/desktop/source/app/app.cxx near line 1900.  This is inside a block that is executed only when the first start wizard is displayed.  It is executed after a fresh install but not when an older office is upgraded (an possibly not when setup.exe is run with the -a option.)

A possible fix is to move the trigger a few lines down, out ouf the first start wizard block.  It then remains to make sure that the installBundledExtensionsBlob() method is not called on every office start.  That would not install any new extensions but will burn time unnecessarily.
Comment 2 Andre 2012-04-02 07:29:16 UTC
This looks like a blocker to me.
Comment 3 Andre 2012-04-02 14:07:19 UTC
As outlined above, I moved the call to installBundledExtensionBlobs() outside the first start wizard block.  Inside that method there is now a guard that prevents unnecessary calls after the first start.

SVN revision is 1308357.