To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=102542
------- Additional comments from [email protected] Fri Sep 18 08:31:39 +0000 2009 ------- I will attach two variants of the same simple extension. Both contain Basic, JavaScript, BeanShell, Python scripts. They all write a little text on the current Writer document. demoShare-1.0.oxt works OK if installed for "single user". demoShare-2.0.oxt works OK if installed for "all users". Install demoShare-1.0.oxt for ALL users, open a new Writer document. Run the scripts from Tools > Add-ons > Demo scripts for share/user > ... Only Basic works. Other scripts display an error "Cannot resolve script location for script = xxxx" Uninstall demoShare-1.0.oxt Install demoShare-2.0.oxt for a SINGLE user, open a new Writer document. Run the scripts from Tools > Add-ons > Demo scripts for share/user > ... Only Basic works. Other scripts display an error "Cannot resolve script location for script = xxxx" The reason is the URI in the file AddonUI.xcu. The same problem would appear from an extension toolbar button. For example for BeanShell we have: <value>vnd.sun.star.script:bshTest1.HeyWriter.bsh? language=BeanShell&location=user:uno_packages/demoShare-1.0.oxt</value> For all users, the term user must be replaced by "share" <value>vnd.sun.star.script:bshTest1.HeyWriter.bsh? language=BeanShell&location=share:uno_packages/demoShare-1.0.oxt</value> Conclusion : Because of the current URI syntax you need to provide separate extensions, one for user, one for share. Related bug : see Issue 105169 --------------------------------------------------------------------- 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]
