To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=100744
                 Issue #|100744
                 Summary|errors in description.xml kill extension manager dialo
                        |g
               Component|framework
                 Version|DEV300m45
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P4
            Subcomponent|code
             Assigned to|jl
             Reported by|jl





------- Additional comments from [email protected] Wed Apr  1 12:26:19 +0000 
2009 -------
The update of the writer2latex extension to version 1-beta caused that the
extension manager dialog could not be started. The reason was that the
description.xml contained references to description files, which where wrong.
The relative paths where "description/description_lang.xml" but the description
files were in the root and not in the subdiretory "description". This caused a
DeploymentException whenever one tries to obtain the description
(desktop/source/deployment/registry/package/dp_package.cxx:BackendImpl::PackageImpl::getDescription())

The GUI part does not catch this extension. The exception is throuwn already
when the extension manager GUI is instantiated, which then fails completly.

XPackage::getDescription is currently not defined to throw a particular 
exception.

A similar problem can occur with all resources which are references from the
description.xml and which target files within the extension. This applies to :

-license
-icon
-extension description

license: In this case the function BackendImpl::PackageImpl::checkLicense (
desktop/source/deployment/registry/dp_package.cxx) throws a DeploymentException
which is correct (test it!).

icon: In BackendImpl::PackageImpl::getIcon a call to
XGraphicProvider::queryGraphic is done which probably throws a IOException
(http://api.openoffice.org/docs/common/ref/com/sun/star/graphic/XGraphicProvider.html#queryGraphic).
This is also not declared in XPackage.idl

extension description: see above

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to