Sorry for the delay on this Adrian, it's now in SVN.
I made some changes to pre-validate what gets copied to the main service
result, and made it more consistent with context-to-result. Please let me know
if that caused any problems with where you are using this (I know I could grab
that other patch, but this issue seemed to be the blocker so I'm hitting it and
I need to move on).
-David
Adrian Crum (JIRA) wrote:
[
https://issues.apache.org/jira/browse/OFBIZ-1237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adrian Crum updated OFBIZ-1237:
-------------------------------
Attachment: ServiceEcaAction.patch
Patch updated to latest revision.
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
Priority: Minor
Attachments: 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.