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-11164) Convert CommunicationEventServices.xml mini lang to groovy

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

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

Commit 6d6b0e38d96c57365528871254d609572428fcdf in ofbiz-framework's branch refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=6d6b0e38d9 ]

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 CommunicationEventServices.xml mini lang to groovy
> ----------------------------------------------------------
>
>                 Key: OFBIZ-11164
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11164
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: party
>    Affects Versions: Trunk
>            Reporter: Nicolas Malin
>            Assignee: Nicolas Malin
>            Priority: Minor
>         Attachments: OFBIZ-11164-createCommEvent.patch, OFBIZ-11164.patch
>
>




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