[ 
https://issues.apache.org/jira/browse/OFBIZ-1237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12531098
 ] 

David E. Jones commented on OFBIZ-1237:
---------------------------------------

Adrian, that patch changes quite a bit more than that, and makes the general 
operation of result-to-result to be very different from context-to-result. For 
example, making it run only on success is not really a valid assumption and 
limits the usefulness of the result-to-result feature, because you could never 
cause a service call to fail, and that is rather handy. In the permission case 
maybe you want to restrict it more than the default, rather than open it up 
more.

You mentioned "broke the code"... could you be more specific about what you are 
seeing happening with this in how you are trying to use it and why that doesn't 
work for you?

Thanks for your patience and persistence...

> Add the ability to copy ECA action result Map to the service result Map
> -----------------------------------------------------------------------
>
>                 Key: OFBIZ-1237
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1237
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>            Reporter: Adrian Crum
>            Assignee: David E. Jones
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: ServiceEcaAction.patch, ServiceEcaAction.patch, 
> ServiceEcaAction.patch
>
>
> The service dispatcher uses the result Map from the initial service invoked 
> and it ignores the result Map of any ECAs that are invoked. So, any values 
> that an ECA service attempts to return are ignored.  It would be preferable 
> to have an action attribute that permits copying the action's result Map to 
> the service's result Map.

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

Reply via email to