Apache OpenOffice (AOO) Bugzilla – Issue 67560
rejecting types due to incompatibility ... differrent number of types.
Last modified: 2013-02-07 21:56:16 UTC
take the extensions from issue 66948 install them, then install one of the new ones, e.g from issue 66005 no-dependencies.oxt -> message comes up, extension is not enabled. The message comes also up, when i first install the .oxt and then CppComponent.uno.pkg
.
The error is justified. Both extensions bring a new interface with the same name, but they have different number of methods. Interface names must be unique. This has been violated in this case. However, when running unopkg then it was possible to install the second extension after unopkg was started a second time. This is a bug.
When unopkg is started and a office is runnging than it connects to it and uses its UNO environment. If no office is running then it bootstraps a minimal UNO environment (desktop/source/pkgchk/unopkg_misc.cxx, getUNO). Then the type rdbs of the installed extensions are not added to the TypeDescriptionManager. We could change the code in getUNO so that in case no office is running UNO is completely bootstrapped. In many places there is code that checks if the office is running (::dp_misc::office_is_running() ) and follows different code path. This code may expect the standalone UNO environment, rather then the full environment. All these places have to be thouroughly investigated, and adjusted if necessary.
set target to 3.x according to http://wiki.services.openoffice.org/wiki/Target_3x
Now in DEV300m51 (pre OOo 3.2) there is the error output from unopkg: An error occurred while enabling: t.rdb and the extension is not installed. There should be at least an error message from the exception, indicating the problem with the incompatible interface.