[jira] [Commented] (OFBIZ-9523) Improve groovy DSL : runService call makeValidContext

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-9523) Improve groovy DSL : runService call makeValidContext

Nicolas Malin (Jira)

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

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

Mmm, after reviewing the "Groovy DSL for OFBiz business logic" page and the link to GroovyBaseScript.groovy I think it's only a matter of presentation and adding some subtleties if nothing has changed since.

> 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)