[jira] Created: (OFBIZ-1979) Groovy & Beanshell Service Engines do not provide DispatchContext to scripts

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-1979) Groovy & Beanshell Service Engines do not provide DispatchContext to scripts

Nicolas Malin (Jira)
Groovy & Beanshell Service Engines do not provide DispatchContext to scripts
----------------------------------------------------------------------------

                 Key: OFBIZ-1979
                 URL: https://issues.apache.org/jira/browse/OFBIZ-1979
             Project: OFBiz
          Issue Type: Bug
          Components: framework
    Affects Versions: SVN trunk
            Reporter: Joe Eckard
            Priority: Minor
             Fix For: SVN trunk
         Attachments: patch.txt

Groovy & Beanshell Service Engines do not provide DispatchContext to scripts, which is used to get a delegator & dispatcher. The attached patch addresses this, however I may have overlooked another way to get a delegator & dispatcher so this patch may not be necessary.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-1979) Groovy & Beanshell Service Engines do not provide DispatchContext to scripts

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Eckard updated OFBIZ-1979:
------------------------------

    Attachment: patch.txt

> Groovy & Beanshell Service Engines do not provide DispatchContext to scripts
> ----------------------------------------------------------------------------
>
>                 Key: OFBIZ-1979
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1979
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Joe Eckard
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: patch.txt
>
>
> Groovy & Beanshell Service Engines do not provide DispatchContext to scripts, which is used to get a delegator & dispatcher. The attached patch addresses this, however I may have overlooked another way to get a delegator & dispatcher so this patch may not be necessary.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1979) Groovy & Beanshell Service Engines do not provide DispatchContext to scripts

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12642144#action_12642144 ]

Oleg Andreyev commented on OFBIZ-1979:
--------------------------------------

I think DispatchContext should be provided to script based services, at least for backward compatibility.

> Groovy & Beanshell Service Engines do not provide DispatchContext to scripts
> ----------------------------------------------------------------------------
>
>                 Key: OFBIZ-1979
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1979
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Joe Eckard
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: patch.txt
>
>
> Groovy & Beanshell Service Engines do not provide DispatchContext to scripts, which is used to get a delegator & dispatcher. The attached patch addresses this, however I may have overlooked another way to get a delegator & dispatcher so this patch may not be necessary.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1979) Groovy & Beanshell Service Engines do not provide DispatchContext to scripts

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12642165#action_12642165 ]

Joe Eckard commented on OFBIZ-1979:
-----------------------------------

I do not have commit access to /framework, but I've been using this in production for a few weeks with no problems.

> Groovy & Beanshell Service Engines do not provide DispatchContext to scripts
> ----------------------------------------------------------------------------
>
>                 Key: OFBIZ-1979
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1979
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Joe Eckard
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: patch.txt
>
>
> Groovy & Beanshell Service Engines do not provide DispatchContext to scripts, which is used to get a delegator & dispatcher. The attached patch addresses this, however I may have overlooked another way to get a delegator & dispatcher so this patch may not be necessary.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Assigned: (OFBIZ-1979) Groovy & Beanshell Service Engines do not provide DispatchContext to scripts

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bilgin Ibryam reassigned OFBIZ-1979:
------------------------------------

    Assignee: Bilgin Ibryam

> Groovy & Beanshell Service Engines do not provide DispatchContext to scripts
> ----------------------------------------------------------------------------
>
>                 Key: OFBIZ-1979
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1979
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Joe Eckard
>            Assignee: Bilgin Ibryam
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: patch.txt
>
>
> Groovy & Beanshell Service Engines do not provide DispatchContext to scripts, which is used to get a delegator & dispatcher. The attached patch addresses this, however I may have overlooked another way to get a delegator & dispatcher so this patch may not be necessary.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-1979) Groovy & Beanshell Service Engines do not provide DispatchContext to scripts

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bilgin Ibryam closed OFBIZ-1979.
--------------------------------

    Resolution: Fixed

Thanks Joe,

I had no change to test your path, but you said you use it already...
Applied your patch manually in trunk rev 707599

Bilgin

> Groovy & Beanshell Service Engines do not provide DispatchContext to scripts
> ----------------------------------------------------------------------------
>
>                 Key: OFBIZ-1979
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1979
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Joe Eckard
>            Assignee: Bilgin Ibryam
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: patch.txt
>
>
> Groovy & Beanshell Service Engines do not provide DispatchContext to scripts, which is used to get a delegator & dispatcher. The attached patch addresses this, however I may have overlooked another way to get a delegator & dispatcher so this patch may not be necessary.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.