Unable to raise a request by email with an attachment that has a long Japanese filename

XMLWordPrintable

    • 10
    • Minor
    • 0

      Issue Summary

      When sending an email that contains an attachment with a long Japanese file name to JSM, the error occurs and the request is not created.

      The error is as follows:

      Caused by: org.postgresql.util.PSQLException: ERROR: value too long for type character varying(255)
      

      For example, Japanese don't feel that the file name "これはリクエストに取り込めない長い名前の添付ファイルの例です_修正版.pptx" is too long, but the error occurs if you send an email with this file.

      Steps to Reproduce

      1. Enable email request in JSM project
      2. Send an email with "これはリクエストに取り込めない長い名前の添付ファイルの例です_修正版.pptx" as attachment to the email request

      Expected Results

      The email is processed and created as a request with the attachment

      Actual Results

      The error occurs and the request is not created.

      Workaround

      Use alphabets for file name, or rename the file to something shorter

            Assignee:
            Namitha John
            Reporter:
            K. Tajima
            Votes:
            8 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: