Launchpad has imported 25 comments from the remote bug at https://bugs.freedesktop.org/show_bug.cgi?id=46102.
If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. ------------------------------------------------------------------------ On 2012-02-15T06:27:34+00:00 Oliver-brinzing wrote: Created attachment 57095 Scriptdispatch.oxt with lo3.5 it is not possible to install script dispatch java extension. steps to reproduce: - try to install attached *.oxt from command line: unopkg add ScriptDispatch.oxt --shared --verbose [...] ERROR: Fehler beim Aktivieren von: ScriptDispatch Cause: (com.sun.star.lang.IllegalArgumentException) { { Message = "Failed to register package for vnd.sun.star.expand:$UNO_SHARED_PACKAGES_CACHE/ uno_packages/lu145p4x.tmp_/ScriptDispatch.oxt/ ScriptDispatch/", Context = (com.sun.star.uno.XInterface) @0 }, ArgumentPosition = (short) 2 } unopkg failed. ????????????????????? with lo 3.4.5 same *.oxt can be installed without any problems. to verify, open attached "StartScriptDispatch.odt" and press button. Reply at: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1097744/comments/0 ------------------------------------------------------------------------ On 2012-02-15T06:29:05+00:00 Oliver-brinzing wrote: Created attachment 57096 StartScriptDispatch.odt Reply at: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1097744/comments/1 ------------------------------------------------------------------------ On 2012-02-17T02:35:09+00:00 Fyvaao wrote: Confirm. Also, preinstalled Java macroses (/opt/libreoffice3.5/share/Scripts/java) do not appear in the "Run Macro..." dialog (menu Tools/Macros/Run Macro...) Reply at: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1097744/comments/2 ------------------------------------------------------------------------ On 2012-03-15T23:25:38+00:00 Oliver-brinzing wrote: why is this bug not fixed in lo3.5.1? Reply at: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1097744/comments/3 ------------------------------------------------------------------------ On 2012-03-20T08:17:30+00:00 Pmladek-y wrote: I wonder if it is related to removing of the 3-layer structure. It affects an extensions that is not installed by default => It most likely affects only limited group of users => It can't block the release => lowering the severity a bit. Reply at: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1097744/comments/4 ------------------------------------------------------------------------ On 2012-03-20T10:18:32+00:00 Sbergman wrote: Rather a regression introduced with gbuild'ification; ScriptProviderForJava.jar no longer contains a RegistrationClassName in its META-INF/MANIFEST.MF. Reply at: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1097744/comments/5 ------------------------------------------------------------------------ On 2012-03-21T04:00:25+00:00 Pmladek-y wrote: Also I do not see /opt/libreoffice3.5/share/extensions/script-provider- for-javascript. I am not sure if it is not longer needed. Reply at: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1097744/comments/6 ------------------------------------------------------------------------ On 2012-03-21T04:57:55+00:00 Oliver-brinzing wrote: > ScriptProviderForJava.jar no longer contains a > RegistrationClassName in its META-INF/MANIFEST.MF. using "ScriptProviderForJava.jar" from lo3.4.5 works for me Reply at: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1097744/comments/7 ------------------------------------------------------------------------ On 2012-03-23T02:33:31+00:00 Sbergman wrote: (In reply to comment #6) > Also I do not see > /opt/libreoffice3.5/share/extensions/script-provider-for-javascript. I am not > sure if it is not longer needed. The script providers for Java (BeanShell) and JavaScript are not implemented as .oxt extensions (unlike the script provider for Python), so do not end up in share/extensions/. Reply at: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1097744/comments/8 ------------------------------------------------------------------------ On 2012-03-23T02:56:35+00:00 Iplaw67 wrote: So will it be fixed for 3.5.2 ? Added to most annoying 3.5 bugs ? Alex Reply at: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1097744/comments/9 ------------------------------------------------------------------------ On 2012-03-23T04:11:53+00:00 Oliver-brinzing wrote: bugfix should be quite simple: take "MANIFEST.MF" from lo3.4.6 and copy into META-INF/MANIFEST.MF from lo 3.5.1's "ScriptProviderForJava.jar" Reply at: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1097744/comments/10 ------------------------------------------------------------------------ On 2012-03-23T07:41:46+00:00 Sbergman wrote: <http://cgit.freedesktop.org/libreoffice/core/commit/?id=91d60be7eeafa1f7872bda452bfb38936003f517> "fdo#46102: Fix scripting jar manifests after gbuild'ification" fixes the META-INF/MANIFEST.MF files of the various Script*.jar. However, this is not enough to make Java scripts actually work. (However, it apparently suffices to make this issue's original problem of a failing unopkg add go away -- even if subsequent testing of StartScriptDispatch.odt fails.) Reply at: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1097744/comments/11 ------------------------------------------------------------------------ On 2012-03-23T08:25:23+00:00 Libreoffice-bugs wrote: Stephan Bergmann committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=dd6c4f4db1d62268d73e09ae52d23f760a967dcc fdo#46102: Load Java scripts with class loaders that actually find them Reply at: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1097744/comments/12 ------------------------------------------------------------------------ On 2012-03-23T08:25:51+00:00 Libreoffice-bugs wrote: Stephan Bergmann committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=0b9fda25f321ce2697179064e330843237177668 fdo#46102: Fix Java script examples after gbuild'ification Reply at: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1097744/comments/13 ------------------------------------------------------------------------ On 2012-03-23T08:59:43+00:00 Sbergman wrote: @brinzing: With the above three commits, Java scripts in general work again (and esp. the preinstalled examples mentioned in comment 2). However, your attached ScriptDispatch.oxt/StartScriptDispatch.odt still do not work for, but do not work for me in LO 3.4.5, either. In both versions I get an error message "Cannot resolve script location for script = org.test.java.ScriptDispatch.execute." I'm intending these fixes for inclusion in LO 3.5.x, potentially even still LO 3.5.2, see <http://lists.freedesktop.org/archives/libreoffice/2012-March/028759.html> "[REVIEW-3-5][REVIEW-3-5-2?] fdo#46102 script dispatch java extensions are broken." Reply at: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1097744/comments/14 ------------------------------------------------------------------------ On 2012-03-23T09:42:58+00:00 Oliver-brinzing wrote: you have to install the "ScriptDispatch.oxt" with "--shared" option, for example: unopkg add ScriptDispatch.oxt --shared --verbose cause the command button url contains the location "share": vnd.sun.star.script:ScriptDispatch.org.test.java.ScriptDispatch.execute?language=Java&location=share:uno_packages/ScriptDispatch.oxt" Reply at: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1097744/comments/15 ------------------------------------------------------------------------ On 2012-03-23T09:50:16+00:00 Sbergman wrote: OK, then it indeed works on my LO master. Reply at: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1097744/comments/16 ------------------------------------------------------------------------ On 2012-03-23T12:49:05+00:00 Libreoffice-bugs wrote: Stephan Bergmann committed a patch related to this issue. It has been pushed to "libreoffice-3-5": http://cgit.freedesktop.org/libreoffice/core/commit/?id=c1b9cd2471162f9bf365be4ab7c1d236c4e8e32d&g=libreoffice-3-5 fdo#46102: Fix scripting jar manifests after gbuild'ification It will be available in LibreOffice 3.5.3. Reply at: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1097744/comments/17 ------------------------------------------------------------------------ On 2012-03-23T12:49:32+00:00 Libreoffice-bugs wrote: Stephan Bergmann committed a patch related to this issue. It has been pushed to "libreoffice-3-5": http://cgit.freedesktop.org/libreoffice/core/commit/?id=de5e886382f829176a55eefeda98d31e27672cc8&g=libreoffice-3-5 fdo#46102: Load Java scripts with class loaders that actually find them It will be available in LibreOffice 3.5.3. Reply at: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1097744/comments/18 ------------------------------------------------------------------------ On 2012-03-23T12:50:00+00:00 Libreoffice-bugs wrote: Stephan Bergmann committed a patch related to this issue. It has been pushed to "libreoffice-3-5": http://cgit.freedesktop.org/libreoffice/core/commit/?id=a6604b06a1d5ff997c38b27c7860f20f48e302d3&g=libreoffice-3-5 fdo#46102: Fix Java script examples after gbuild'ification It will be available in LibreOffice 3.5.3. Reply at: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1097744/comments/19 ------------------------------------------------------------------------ On 2012-03-27T02:23:29+00:00 Libreoffice-bugs wrote: Stephan Bergmann committed a patch related to this issue. It has been pushed to "libreoffice-3-5-2": http://cgit.freedesktop.org/libreoffice/core/commit/?id=addffddbc4acf9745e6bfeba322d6488b3c12605&g=libreoffice-3-5-2 fdo#46102: Fix scripting jar manifests after gbuild'ification It will be available already in LibreOffice 3.5.2. Reply at: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1097744/comments/20 ------------------------------------------------------------------------ On 2012-03-27T02:23:57+00:00 Libreoffice-bugs wrote: Stephan Bergmann committed a patch related to this issue. It has been pushed to "libreoffice-3-5-2": http://cgit.freedesktop.org/libreoffice/core/commit/?id=a9caee65b7c76e54b2362ded366075249d0f858d&g=libreoffice-3-5-2 fdo#46102: Fix Java script examples after gbuild'ification It will be available already in LibreOffice 3.5.2. Reply at: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1097744/comments/21 ------------------------------------------------------------------------ On 2012-03-27T02:24:26+00:00 Libreoffice-bugs wrote: Stephan Bergmann committed a patch related to this issue. It has been pushed to "libreoffice-3-5-2": http://cgit.freedesktop.org/libreoffice/core/commit/?id=a574a38a73b252498ac061dcf08d96a84b48b6af&g=libreoffice-3-5-2 fdo#46102: Load Java scripts with class loaders that actually find them It will be available already in LibreOffice 3.5.2. Reply at: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1097744/comments/22 ------------------------------------------------------------------------ On 2012-04-05T08:04:36+00:00 Libreoffice-z wrote: I added Fix submitter as assignee because this will ease queries and bug tracking. Reply at: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1097744/comments/23 ------------------------------------------------------------------------ On 2012-10-26T16:39:52+00:00 Sbergman wrote: Looks like <http://cgit.freedesktop.org/libreoffice/core/commit/?id=dd6c4f4db1d62268d73e09ae52d23f760a967dcc> "fdo#46102: Load Java scripts with class loaders that actually find them" was not necessary after all and rather caused new regressions, see bug 49517. Reply at: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1097744/comments/24 ** Changed in: df-libreoffice Status: Unknown => Fix Released ** Changed in: df-libreoffice Importance: Unknown => Critical -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1097744 Title: Load Java scripts with class loaders To manage notifications about this bug go to: https://bugs.launchpad.net/df-libreoffice/+bug/1097744/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
