You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Pawan Verma (Jira)" <ji...@apache.org> on 2020/03/28 09:15:00 UTC

[jira] [Commented] (OFBIZ-11367) Convert updateSingleContentPurpose service from mini-lang to groovy DSL

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

Pawan Verma commented on OFBIZ-11367:
-------------------------------------

Hello Sourabh,

Thanks for the great work, Can we re-write the code as below and test it :)


 delegator.removeByAnd("ContentPurpose", ["contentId": parameters.contentId])
and run service : "createContentPurpose", with: parameters

> Convert updateSingleContentPurpose service from mini-lang to groovy DSL
> -----------------------------------------------------------------------
>
>                 Key: OFBIZ-11367
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11367
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: content
>    Affects Versions: Trunk
>            Reporter: Devanshu Vyas
>            Assignee: Sourabh Punyani
>            Priority: Minor
>         Attachments: OFBIZ-11367.patch
>
>
> Convert updateSingleContentPurpose service code from mini-lang to groovy DSL.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)