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

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

In 589977 I changed the code so the order doesn't really matter much. The main 
thing I'm trying to avoid, that using your patch directly would cause, is so 
that this only runs on success. If we do a result-to-result it should probably 
copy everything, success or failure, just like result-to-context and such.

It seems to be working, but of course feedback is always helpful.

> 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, 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