Issue 105169 - Non-Basic scripts of an extension for all users are not found by "Organize macros"
Summary: Non-Basic scripts of an extension for all users are not found by "Organize ma...
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: OOo 3.1
Hardware: PC Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2009-09-18 09:23 UTC by bmarcelly
Modified: 2017-05-20 10:47 UTC (History)
3 users (show)

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

Install this extension "for all users" (5.58 KB, application/vnd.openofficeorg.extension)
2009-09-18 09:23 UTC, bmarcelly
no flags Details
The extension Javascript is not found (8.44 KB, image/png)
2009-09-18 09:24 UTC, bmarcelly
no flags Details
The extension Javascript is found (17.30 KB, image/png)
2009-09-18 09:25 UTC, bmarcelly
no flags Details

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