[
https://issues.apache.org/jira/browse/OFBIZ-5338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13857890#comment-13857890
]
Adrian Crum commented on OFBIZ-5338:
------------------------------------
Also, I don't agree that the field should be quietly skipped if it is not part
of the OUT parameters. Instead, Mini-language should throw an exception - to
make it clear that the developer has done something wrong.
Revision 1553776 might help this issue.
> createCommContentDataResource service fails
> -------------------------------------------
>
> Key: OFBIZ-5338
> URL: https://issues.apache.org/jira/browse/OFBIZ-5338
> Project: OFBiz
> Issue Type: Bug
> Components: content, specialpurpose/ecommerce
> Affects Versions: Release Branch 11.04, SVN trunk, Release Branch 12.04,
> Release Branch 13.07
> Reporter: Jacques Le Roux
> Assignee: Jacques Le Roux
> Priority: Minor
> Fix For: SVN trunk
>
>
> createCommContentDataResource, updateCommEventContentAssoc services and
> persistCompDoc services implemented as simple-methods fail because of this
> block
> {code}
> <iterate-map key="key" value="val" map="persistOut">
> <field-to-result field="val" result-name="${key}"/>
> </iterate-map>
> {code}
> It fails because persistOut is created from
> {code}
> <call-service service-name="persistContentAndAssoc"
> in-map-name="persistIn">
> <results-to-map map-name="persistOut"/>
> </call-service>
> {code}
> and contains the key responseMessage which is not part of the OUT parameters
> of these services.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)