Apache OpenOffice (AOO) Bugzilla – Issue 84222
runner: cfgmgr2.LocalSingleBackend::XMultiLayerStratum
Last modified: 2013-02-24 21:08:31 UTC
migrated from internal task 112741 Entities with relative urls can't be resolved under Unix, but they work just fine on Windows. Just execute the following macro to reproduce the behaviour. Sub Main settings = createUnoService("com.sun.star.util.PathSettings") pPath = settings.Module Entity = pPath+"/../share/registry" Dim args(0) as Object args(0) = createUnoService("com.sun.star.configuration.bootstrap.BootstrapContext") oServiceManager = GetProcessServiceManager() backend = oServiceManager.createInstanceWithArguments("com.sun.star.comp.configuration.backend.LocalSingleBackend", args()) msgbox "using Entity:" + Entity backend.getUpdateLayerId("org.openoffice.Office.Linguistic", Entity) End Sub On unix systems the exception com.sun.star.lang.IllegalArgumentException: LocalSingleBackend - Unknown entity for update: file:///localhome/apitest/officefat/program/../share/registry is thrown.
accepted
change owner