Issue 84222 - runner: cfgmgr2.LocalSingleBackend::XMultiLayerStratum
Summary: runner: cfgmgr2.LocalSingleBackend::XMultiLayerStratum
Status: CONFIRMED
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-04 11:56 UTC by chne
Modified: 2013-02-24 21:08 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
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