Issue 87803 - user extension's target platform during update
Summary: user extension's target platform during update
Status: ACCEPTED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: DEV300m5
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-03 11:02 UTC by joachim.lingner
Modified: 2013-08-07 15:31 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description joachim.lingner 2008-04-03 11:02:04 UTC
This should allow to have various instances of the same extension with the same
identifier but different sets of target platforms.

During the update the extension manager needs to determine the proper update
based on the supported platforms and the current platform. Only if an "update"
supports the current platform then it can be installed. If there are more then
one possible updates (all having the same version but different sets of
supported platforms) then the first found, that supports the current platform is
used.

Reasioning:
1. It is not necessary that a new version supports all of the target platforms
of the installed extension. Assuming a multiplatform extension is installed in a
heterogeneous environment where the user installation is shared among OOo
instances on different machines, then the extension only works on the machine
where it was installed. This is because the libraries are actively registered on
the system. In other words, the libraries are executed during installation.
With a passive registration one could install on one machine an use it from all
other machines right away.

Note: When one wants to install extensions in heterogenous environments then one
should provide different extension identifies otherwise one extension which was
installed on a different platform would be replaced when installing another
instance of the same extension on another machine (same extension identifiers
but different target platforms)

Assuming we had a passive registration mechanism, then we should choose the
update so that it supports at least the same platforms as the original extension.

It can happen that a new version adds support for additional platforms as well
as remove some of them. Therefore the update window needs to display that an
update is available but cannot be installed because it does not support the
platform anymore.
Comment 1 joachim.lingner 2008-04-03 11:02:52 UTC
.
Comment 2 joachim.lingner 2008-06-06 14:05:15 UTC
Issue type is enhancement.
Comment 3 joachim.lingner 2008-12-09 15:21:17 UTC
Retargeting.
Comment 4 joachim.lingner 2009-07-21 16:16:48 UTC
Retargeted to 3.x