Apache OpenOffice (AOO) Bugzilla – Issue 116993
Scripting Framework is broken in DEV300m100
Last modified: 2017-05-20 10:01:10 UTC
steps to reproduce: - download "ScriptDispatch.oxt" from http://www.openoffice.org/issues/show_bug.cgi?id=98990 - install extension (shared), for example: unopkg add c:\ScriptDispatch.oxt --shared --verbose - download and open "StartScriptDispatch.odt" from http://www.openoffice.org/issues/show_bug.cgi?id=98990 - press button - nothing happens ... btw: it worked in m99 but now it's broken :-( -> regression set priority to p2 cause this bug will prevent me to do any further testing ;-)
STARTED
ab->brinzing: For me it doesn't work on m99 (wntmsci12.pro) either. I always get the message: "A Scripting Framework error occurred while running the Java scrpt org.test.java.ScriptDispatch.execute Message: Cannot resolve script location for script = org.test.java.ScriptDispatch.execute" Any idea what could go wrong?
@ab: did you install with option "--shared" ?
@brinzing: I used the Extension Manager UI, but installed "For all", so this should be the same. To be sure I've just tried via your unopkg command line and got the same behavior. Besides this, I *do* see a difference in m100 as there just nothing happens, not even an error message. It just would be nice to have a really working version and not to take an error message as success. :-)
@ab: have you seen: http://www.openoffice.org/issues/show_bug.cgi?id=116995 maybe same root cause ? for me (vista 32 bit & jre 1_6_23) m99 is ok (a dialog will be displayed), but m100 indeed will do absolut nothing...
fs->brinzing: the "nothing happens when you click the button" is a duplicate of issue 116991. However, with the fix for this issue, I also get the error (in m100) which ab describes for m99. So I am not sure whether there is still another problem. => It's at your discretion whether you want to close this issue here as duplicate.
@fs: i just removed all my extensions from m99 and installed "ScriptDispatch.oxt" again. it worked like expected - a dialog will be shown after pressing the button in "StartScriptDispatch.odt". after unopkg a ".\user\Scripts\shared-extension-desc.xml" should contain an entry pointing to the extension, e.g.: <?xml version="1.0" encoding="UTF-8"?> <unopackages xmlns:unopackages="unopackages.dtd"> <language value="Java"> <package value="vnd.sun.star.expand:$UNO_SHARED_PACKAGES_CACHE/uno_packages/3A20.tmp_/ScriptDispatch.oxt/ScriptDispatch/"/> </language> </unopackages>
As the described problem can be explained by http://openoffice.org/bugzilla/show_bug.cgi?id=116991 I set this one to duplicate. *** This issue has been marked as a duplicate of issue 116991 ***