OFBiz
  1. OFBiz
  2. OFBIZ-528

Upgrade Beanshell library to version 2.0b4

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: SVN trunk
    • Fix Version/s: SVN trunk
    • Component/s: framework
    • Labels:
      None
    • Environment:

      Windows XP, MySQL 5.0, JDK1.5, ofbiz_opentaps_473442

      Description

      As discussed recently on ofbiz-users mailing list, I proposed to upgrade the Beanshell jar used by OFBiz (framework/base/lib/scripting/bsh.jar), which is based on a 1.3a1, to the current "stable" version, 2.0b4.

      This has the following advantages:

      • JDK1.5 interpretation capability
      • various bugfixes

      However as explained by David E. Jones here:
      https://cwiki.apache.org/confluence/display/OFBTECH/OFBiz+Customized+BeanShell+Source+(with+ParsedScript+object)

      ...it will be necessary to patch the source to allow for the script parsing on which OFBiz depends.

      This fix MAY also resolve this bug:
      https://issues.apache.org/jira/browse/OFBIZ-303

      1. ParsedScriptObjectExtension.patch
        9 kB
        David E. Jones
      2. viewprofile.bsh
        5 kB
        Cameron Smith
      3. BshClassManager.java
        20 kB
        Cameron Smith
      4. Interpreter.java
        40 kB
        Cameron Smith

        Activity

        Cameron Smith created issue -
        Cameron Smith made changes -
        Field Original Value New Value
        Attachment BshClassManager.java [ 12346620 ]
        Attachment Interpreter.java [ 12346619 ]
        Attachment bsh-2.0b4-mod-ofbiz.jar [ 12346621 ]
        Cameron Smith made changes -
        Attachment viewprofile.bsh [ 12346622 ]
        David E. Jones made changes -
        Assignee David E. Jones [ jonesde ]
        David E. Jones made changes -
        Attachment ParsedScriptObjectExtension.patch [ 12356470 ]
        David E. Jones made changes -
        Attachment bsh-2.0b4-mod-ofbiz.jar [ 12346621 ]
        David E. Jones made changes -
        Fix Version/s SVN trunk [ 12311928 ]
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Closed [ 6 ]
        Gavin made changes -
        Workflow jira [ 12391717 ] OFbiz Workflow [ 12504116 ]
        Jacques Le Roux made changes -
        Description As discussed recently on ofbiz-users mailing list, I proposed to upgrade the Beanshell jar used by OFBiz (framework/base/lib/scripting/bsh.jar), which is based on a 1.3a1, to the current "stable" version, 2.0b4.

        This has the following advantages:
         - JDK1.5 interpretation capability
         - various bugfixes

        However as explained by David E. Jones here:
        http://docs.ofbiz.org/display/OFBTECH/OFBiz+Customized+BeanShell+Source+%28with+ParsedScript+object%29

        ...it will be necessary to patch the source to allow for the script parsing on which OFBiz depends.

        This fix MAY also resolve this bug:
        https://issues.apache.org/jira/browse/OFBIZ-303
        As discussed recently on ofbiz-users mailing list, I proposed to upgrade the Beanshell jar used by OFBiz (framework/base/lib/scripting/bsh.jar), which is based on a 1.3a1, to the current "stable" version, 2.0b4.

        This has the following advantages:
         - JDK1.5 interpretation capability
         - various bugfixes

        However as explained by David E. Jones here:
        https://cwiki.apache.org/confluence/display/OFBTECH/OFBiz+Customized+BeanShell+Source+(with+ParsedScript+object)

        ...it will be necessary to patch the source to allow for the script parsing on which OFBiz depends.

        This fix MAY also resolve this bug:
        https://issues.apache.org/jira/browse/OFBIZ-303

          People

          • Assignee:
            David E. Jones
            Reporter:
            Cameron Smith
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development