Issue 84222

Summary: runner: cfgmgr2.LocalSingleBackend::XMultiLayerStratum
Product: App Dev Reporter: chne
Component: apiAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues
Version: 3.3.0 or older (OOo)   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description chne 2007-12-04 11:56:47 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.
Comment 1 chne 2007-12-13 22:36:15 UTC
accepted
Comment 2 chne 2009-04-20 09:23:12 UTC
change owner