To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=84222
                 Issue #|84222
                 Summary|runner: cfgmgr2.LocalSingleBackend::XMultiLayerStratum
               Component|api
                 Version|1.0.0
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|cn
             Reported by|cn





------- Additional comments from [EMAIL PROTECTED] Tue Dec  4 11:56:47 +0000 
2007 -------
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.

---------------------------------------------------------------------
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