https://bugs.freedesktop.org/show_bug.cgi?id=53006

--- Comment #9 from Stephan Bergmann <[email protected]> 2012-08-01 15:18:43 
UTC ---
(In reply to comment #8)
> some
> error in the LO code base that suppresses regeneration of per-user data about
> bundled extensions when references from that data to files (in the
> installation's share/extensions and/or share/prereg) become stale.

This erroneous staleness can *only* happen with references to the
installation's share/prereg/bundled/ tree (aka $BUNDLED_EXTENSIONS_PREREG)
(modulo buggy bundled extensions that substantially change their content but
fail to bump their version).  Assume that the new LO installation bundles the
same version of an extension as the old LO installation.  In such a case, LO
does not necessarily regenerate the per-user data about that extension (in the
UserInstallation's user/extensions/bundled/ tree), which potentially affects
references from that data to three regions:

- A reference to the installation's share/extensions/ tree (aka
$BUNDLED_EXTENSIONS) will reference effectively the same file in the new
installation that it referenced in the old installation (since the extension's
version did not change), so is OK.

- A reference to the UserInstallation's user/extensions/bundled/ tree (aka
$BUNDLED_EXTENSIONS_USER) itself will keep referencing the same file (as the
extension's per-user data is not regenerated), which in turn will correspond to
effectively the same file in the new installation's share/extensions/ tree that
it corresponded to in the old installation's share/extensions/ tree (since the
extension's version did not change), so is OK.

- Only a reference to the installation's share/prereg/bundled/ tree (aka
$BUNDLED_EXTENSIONS_PREREG) will potentially go stale, as (a) those references
contain volatile luXXXXX.tmp segments that potentially change whenever that
tree is regenerated (even from identical data), and (b) the new LO installation
potentially does not have that tree at all.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to