Uploaded image for project: 'WebTop'
  1. WebTop
  2. WT-282

PEC special preview may fail on some pec message

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Medium
    • Resolution: Done
    • Mail
    • None
    • 5.6.2
    • release
    • 5.7.1
    • wt-5.8.1
    • 0298

    Description

      In the analyzed mail, the pec was containing just a bunch of zip and other attachments.

      The preview is failing casuing an error:

       

      javax.mail.MethodNotSupportedException: Cannot set flags on this nested message
      	at com.sun.mail.imap.IMAPNestedMessage.setFlags(IMAPNestedMessage.java:148)
      	at javax.mail.Message.setFlag(Message.java:595)
      	at com.sonicle.webtop.mail.Service.processGetMessage(Service.java:7003)
      

       

      which is clearly the JavaMail failing setting the message seen in this special case.

      Catching the exception on this "setFlag" lines may allow everyting to go on seamlessly.

      Attachments

        Activity

          People

            gabriele.bulfon Gabriele Bulfon
            gabriele.bulfon Gabriele Bulfon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Packages

                Version Package