You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2023/03/07 10:49:00 UTC

[jira] [Commented] (OFBIZ-9992) Convert CatalogServices.xml mini lang to groovy

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

ASF subversion and git services commented on OFBIZ-9992:
--------------------------------------------------------

Commit e4c95d885020ab831af237850f13fe2bc5b5c43c in ofbiz-framework's branch refs/heads/release22.01 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=e4c95d8850 ]

Fixed: Convert CommunicationEventServices mini lang to groovy (OFBIZ-9992) (OFBIZ-11164)

In the new groovy file, CommunicationEventServices.groovy The parameter was set
as the whole object communicationEvent instead of the ID only
communicationEventId which is the one required. It gave this error :
Error running Groovy method [sendEmailDated] in Groovy file
[component://party/groovyScripts/communication/CommunicationEventServices.groovy]:
(org.apache.ofbiz.service.ServiceValidationException: The following required
parameter is missing: [IN] [sendCommEventAsEmail.communicationEventId])

I did the line change and it worked and sent the email.

jleroux: I was a bit lost in (OFBIZ-9992) and (OFBIZ-11164) so I simply checked
sendCommEventAsEmail definition and that's alright

Thanks: Serge Byishimo (https://github.com/sergeByishimo)


> Convert CatalogServices.xml mini lang to groovy
> -----------------------------------------------
>
>                 Key: OFBIZ-9992
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9992
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Dennis Balkir
>            Assignee: Nicolas Malin
>            Priority: Minor
>         Attachments: OFBIZ-9992_org.apache.ofbiz.product.catalog.CatalogServices_convert.patch, OFBIZ-9992_org.apache.ofbiz.product.catalog.CatalogServices_convert_short.patch
>
>
> Migration of the CatalogServices.xml to Groovy



--
This message was sent by Atlassian Jira
(v8.20.10#820010)