Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-12801

Error at CommunicationEventServices.groovy:489 due to OFBIZ-11167

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Upcoming Branch
    • Upcoming Branch
    • projectmgr
    • None

    Description

      I get this error locally:

      The Following Errors Occurred:

      Service dispatcher threw an exception:Error running Groovy method [sendEmailDated] in Groovy file [component://party/groovyScripts/communication/CommunicationEventServices.groovy]: (Cannot cast object '[]' with class 'java.util.ArrayList' to class 'java.util.Map' due to: groovy.lang.GroovyRuntimeException: Could not find matching constructor for: java.util.Map())

      When I replace
      Map sendEmailDated() {
      by
      def sendEmailDated() {
      The error disappears

      I guess something better can be done, but I have not yet found what

      Attachments

        Issue Links

          Activity

            People

              jleroux Jacques Le Roux
              jleroux Jacques Le Roux
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: