ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Le Roux (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-9523) Improve groovy DSL : runService call makeValidContext
Date Sun, 30 Jul 2017 10:43:02 GMT

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

Jacques Le Roux commented on OFBIZ-9523:
----------------------------------------

Hi Nicolas,

I guess the right syntax is not
bq. run service : createProduct, with: context
? :)
Anyway more on that later at "Groovy DSL for OFBiz business logic" wiki page...


> Improve groovy DSL : runService call makeValidContext
> -----------------------------------------------------
>
>                 Key: OFBIZ-9523
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9523
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Nicolas Malin
>            Assignee: Nicolas Malin
>             Fix For: Upcoming Release
>
>         Attachments: OFBIZ-9523.patch
>
>
> When you call run service with groovy, you need to be sure that all parametes are good
for the service call.
> I propose to simplify this dsl with an automatic parameters check  so you can call directly
like that
> {code}
> run service : createProduct, with: context
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message