Issue 105169

Summary: Non-Basic scripts of an extension for all users are not found by "Organize macros"
Product: General Reporter: bmarcelly <marcelly.bernard>
Component: uiAssignee: AOO issues mailing list <issues>
Status: ACCEPTED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues, joachim.lingner, oliver.brinzing
Version: OOo 3.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Description Flags
Install this extension "for all users"
The extension Javascript is not found
The extension Javascript is found none

Description bmarcelly 2009-09-18 09:23:05 UTC
Next attachment is a simple extension : demoShare-2.0.oxt
Install this extension for all users, open a new Writer document.
Run the scripts from Tools > Add-ons > Demo scripts for share/user > ...
They all write a "Hello" text.

Open Tools > Macros > Organize Macros > JavaScript or BeanShell or Python :
The dialog window does not show the existing extension script. See attachment 
Open Tools > Macros > Run Macros :
The dialog window shows all the extension scripts. See attachment RunJavascript.png
Comment 1 bmarcelly 2009-09-18 09:23:51 UTC
Created attachment 64833 [details]
Install this extension "for all users"
Comment 2 bmarcelly 2009-09-18 09:24:31 UTC
Created attachment 64834 [details]
The extension Javascript is not found
Comment 3 bmarcelly 2009-09-18 09:25:12 UTC
Created attachment 64835 [details]
The extension Javascript is found
Comment 4 joachim.lingner 2010-05-05 13:01:23 UTC
Currently OOo tries to find the script exactly as specified. That is, if the URI
contains “shared” then  the extension must be in the shared repository. This
appears to be a bug since the location of extensions is irrelevant. It is also
not possible to use services or xcu files of an extension from a particular
repository (shared or user). It is the job of the extension manager to “locate”
the script in  the correct extension repository. See 2The active extensionThe
active extension.
The user, and shared names can however be used to put the extensions in the
correct place in the macro dialog. Script libraries are grouped under “My
Macros”, “ Macros” and “Document”. That is, only the extension
name is used to find the corresponding extension.
Comment 5 joachim.lingner 2010-05-05 13:04:17 UTC
>See 2The active extensionThe
Copy & paste error. This is a planned wiki chapter about extensions and not yet
Comment 6 joachim.lingner 2010-05-05 13:06:16 UTC
Comment 7 joachim.lingner 2010-05-05 13:22:58 UTC
Well, I think my explanation refers to a different issue. So, please disregard it.
Comment 8 ab 2010-05-28 11:21:27 UTC
Comment 9 Oliver Brinzing 2010-11-06 12:05:37 UTC
Comment 10 Oliver Brinzing 2010-11-06 13:29:32 UTC
Comment 11 Marcus 2017-05-20 10:47:56 UTC
Reset assigne to the default "".