[
https://issues.apache.org/jira/browse/OFBIZ-5338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jacques Le Roux reopened OFBIZ-5338:
------------------------------------
I reopen after [this thread|http://markmail.org/message/u3r345jotd7mszjs] and
will rather apply this way:
{quote}
Thanks Jacopo,
I agree, I will revert r1529415 and will rather do that, much cleaner
Jacques
Jacopo Cappellato wrote:
> On Oct 5, 2013, at 11:02 AM, Jacques Le Roux <[email protected]>
> wrote:
>
>> Hi,
>>
>> I fxed a common issue to 3 services at
>> https://issues.apache.org/jira/browse/OFBIZ-5338
>>
>> Doing so, I wondered if we could not generalise by removing responseMessage
>> from results-to-map
>
> In this case it may be a better approach to modify the behavior of
> field-to-result: skip the field if it is not part of the OUT
> attributes and print instead a warning message.
>
> Jacopo
{quote}
> 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#6144)