Apache OpenOffice (AOO) Bugzilla – Issue 86077
Restore the older extension when cancelling the installation of a new one
Last modified: 2008-07-18 09:17:09 UTC
It is useful to remove the old extension, if the user decides to install the new extension without cancelling the installation. But the user should have the opportunity to cancel the action. And in that case the old extension must not be removed, as it is currently the case; the user should at least be able to keep the old status. He should not be forced to download the extension again. Imagine, he has paid for it, the extension repository can also include extensions one has to pay for. Now he is forced to download and pay again...We really need to be able to restore the older extension for target 3.0.
Concerning the bad usability of this issue I changed the priority.
.
I submitted issue 90438 because we need some strings. It also explains the behavior of the cancel button. The cancel behavior can be best tested with the extension manager gui and the sunsearchtoolbar. The behavior of pressing cancel in the 'Download and Install' dialog is the same as pressing cancel in the Extension Manager dialog, when one manually updates an extension. In both cases XPackageManager::addPackage is called. The function will first remove the existing extension and then register the new one.
*** Issue 75122 has been marked as a duplicate of this issue. ***
@JL: What has been resolved within this issue 86077 on target OOo 3.0 wwith prio 2? It is set on fixed, but points to a new one.
Cancelling an add / remove operation did not really work. Cancelling remove could lead to a damaged extension. In case of an online update cancelling could mean that the original extension is removed while the update was not installed.
jl->jsk: Please verify
In which specification document has this feature been documented?
... and how can i test it, preferably automatically? I would need an extension that can be updated and takes sufficiently long time to install so i can gab the dialog and cancel the update
@jsk: This is not a feature, removing existing installations after canceling the action (download / Install) is a bug.
I submitted issue 90695 because canceling of "Disable" does not work. Clarified function of cancel button at http://specs.openoffice.org/appwide/packagemanager/online_update_for_extensions.odt http://specs.openoffice.org/appwide/packagemanager/Extension_Manager_UI_Change.odt
Verified for Windows, Linux and Solaris