Uploaded image for project: 'AdMaxLocal'
  1. AdMaxLocal
  2. AML-4166

produce-error-report-from-orders.groovy is not working properly

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Mercury
    • Fix Version/s: Galileo
    • Component/s: Reseller UI
    • Labels:
      None
    • Environment:

      Description

      Exceptions are observed while running produce-error-report-from-orders.groovy .

      Steps

      1. Go to the momman server (/home/amlops/groovy) and run the below groovy script .

      groovy produce-error-report-from-orders.groovy -e qa2 -h aq-qa2-mysql1 -uspike -p tar63t -o /tmp/

      Expected Behavior

      It should create csv(content-rejections.csv) for all the rejected contents.

      Actual Behavior

      Exceptions are observed in the log.

      because: Illegal mix of collations (utf8mb4_unicode_ci,IMPLICIT) and (utf8mb4_general_ci,IMPLICIT) for operation '='
      Caught: java.sql.SQLException: Illegal mix of collations (utf8mb4_unicode_ci,IMPLICIT) and (utf8mb4_general_ci,IMPLICIT) for operation '='
      java.sql.SQLException: Illegal mix of collations (utf8mb4_unicode_ci,IMPLICIT) and (utf8mb4_general_ci,IMPLICIT) for operation '='
      at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055)
      at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
      at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3491)
      at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3423)
      at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1936)

      Note

      Kindly find the attached log.

        Attachments

          Activity

            People

            • Assignee:
              jason.stedman Jason Stedman (Inactive)
              Reporter:
              sanjaykumar.biswal Sanjay Kumar Biswal
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: