To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=99858 Issue #|99858 Summary|Java-like scripts of an extension cannot be run Component|framework Version|OOO300m2 Platform|PC URL| OS/Version|Windows XP Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|tm Reported by|bmarcelly
------- Additional comments from bmarce...@openoffice.org Wed Mar 4 11:16:25 +0000 2009 ------- I found this problem on OOO310m2, and also on 2.4.2. It is not systematic but very disturbing for the user. On an OpenOffice freshly started (QuickStarter not used), install an extension containing a script in JavaScript or BeanShell or Java. After installation, try to run the script from a toolbar or a menu. Error : A Scripting Error has occurred while running the JavaScript script xxxx.js Message : Cannot resolve script location for script = xxxx.js Try menu Tools > Macros > Run macros : you cannot see the script name in "My Macros". The problem persists even after closing / restarting OpenOffice. Work-around : Open Tools > Extension Manager Select the extension, click Disable, then click Enable. Close the Extension Manager. Now the script runs ! It is visible in "My Macros". The problem has disappeared, even if OpenOffice is restarted. Next attachment is a small test extension containing HelloWorld scripts in Basic, JavaScript, BeanShell, Java, Python. Use an OpenOffice which does not have Java-like scripts. Install this extension. Open a new Writer document and open menu Tools > Add-Ons > Test1. Run the different scripts from there. --------------------------------------------------------------------- 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: issues-unsubscr...@framework.openoffice.org For additional commands, e-mail: issues-h...@framework.openoffice.org --------------------------------------------------------------------- To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org