Issue 117453 - desktop: extension manager can't deploy single xcu file ...
Summary: desktop: extension manager can't deploy single xcu file ...
Status: CLOSED DUPLICATE of issue 113279
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: current
Hardware: PC All
: P3 Normal (vote)
Target Milestone: ---
Assignee: joachim.lingner
QA Contact: issues@framework
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-18 12:31 UTC by jsc
Modified: 2017-05-20 10:01 UTC (History)
4 users (show)

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


Attachments
Proposed patch to fix the problem. (686 bytes, patch)
2011-11-30 19:58 UTC, hanya
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description jsc 2011-03-18 12:31:16 UTC
The extension manager can't deploy a single xcu file anymore. I got a com.sun.star.deployment.DeploymentException: an error occured during file opening ...

Seems to be a regression. But the general question is if we should still accept the deployment of single config files etc. or if we allow oxt packages only.
Comment 1 jsc 2011-03-18 12:47:01 UTC
When i put the xcu file in an oxt package everything seems to be fine until i try to uninstall the oxt package. No error message and no other feedback and the the oxt won't be uninstalled.
Comment 2 jsc 2011-03-18 13:10:53 UTC
My last comment is not 100% correct. I had a bug in my oxt manifest. The oxt contains 1 xcu file, description and a manifest and the problem was that the manifest file was not correct. So nothing was installed. The extension manager had more or less nothing to do and shows the oxt as properly installed. When i tried to uninstall this oxt, the ext mgr does again nothing and the oxt remains installed. You can't remove it via the extension manager and it is still listed.
Comment 3 hanya 2011-11-30 19:58:58 UTC
Created attachment 77058 [details]
Proposed patch to fix the problem.

css::ucb::IOErrorCode_GENERAL is specified to xRequest passed to FileDoesNotExistFilter::handle method when description.xml file is not found on Linux environment.
This problem is not there on OOo 3.2.1. Maybe there is ucb changes between 3.2 and 3.3, I have not checked. To modify the UCB might be make problems somewhere else.
Comment 4 Ariel Constenla-Haile 2012-01-26 10:13:32 UTC

*** This issue has been marked as a duplicate of issue 113279 ***
Comment 5 Oliver-Rainer Wittmann 2012-06-13 12:22:17 UTC
getting rid of value "enhancement" for field "severity".
For enhancement the field "issue type" shall be used.
Comment 6 Li Feng Wang 2012-06-21 08:08:51 UTC
I use attachment in bug 113279, oxt can be installed and uninstalled normally with no error message in extension manager.
(Attached oxt file includes Addons.xcu, test.py and ComboboxTest.jar. )

build r1351567 (buildbot)