Apache OpenOffice (AOO) Bugzilla – Issue 105169
Non-Basic scripts of an extension for all users are not found by "Organize macros"
Last modified: 2017-05-20 10:47:56 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 NoJavascript.png Open Tools > Macros > Run Macros : The dialog window shows all the extension scripts. See attachment RunJavascript.png
Created attachment 64833 [details] Install this extension "for all users"
Created attachment 64834 [details] The extension Javascript is not found
Created attachment 64835 [details] The extension Javascript is found
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”, “OpenOffice.org Macros” and “Document”. That is, only the extension name is used to find the corresponding extension.
>See 2The active extensionThe Copy & paste error. This is a planned wiki chapter about extensions and not yet available.
.
Well, I think my explanation refers to a different issue. So, please disregard it.
STARTED
Reset assigne to the default "issues@openoffice.apache.org".