https://bugs.documentfoundation.org/show_bug.cgi?id=121682

Julien Nabet <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Julien Nabet <[email protected]> ---
On pc Debian x86-64 with master sources updated yesterday, I gave it a try.

I noticed that if I install the extension for all users, it doesn't work but if
I choose "only for me", I don't reproduce the problem.

In macros contained in the oxt, I noticed this block:
Function getUrl()
   oPSM = GetProcessServiceManager().DefaultContext()
   oFac =
oPSM.getValueByName("/singletons/com.sun.star.deployment.thePackageManagerFactory")
   oMan = oFac.getPackageManager("user")
   oExt() = oMan.getDeployedPackages(null, null)

  For i = LBound(oExt) to UBound(oExt)
      if oExt(i).getDisplayName() = "PlantUML in LibreOffice" then

                Part2= right(oExt(i).URL, len(oExt(i).URL)-57)
                oPathSub = CreateUnoService(
"com.sun.star.util.PathSubstitution" )

                Part1= oPathSub.getSubstituteVariableValue("user") 
                CompleteUrl=  Part1 & "/uno_packages/cache/uno_packages" &
Part2
                getUrl = CompleteUrl

      endif
   Next i
End Function

when using, install for all, we don't enter the "For" loop.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to