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

Attachments lookup breaks advanced search

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • High
    • Resolution: Done
    • Mail
    • None
    • 5.11.4
    • release
    • 5.11.8
    • wt-5.12.4
    • 0434

    Description

      We don't know exactly ho to sistematically reproduce the issue but with the following steps the problem usually appear. Seems this starts appearing after adding WT-1001.

      Steps to reproduce

      1. Switch to mail service and open advanced search
      2. Select From as condition and type a known sender
      3. Then run the search and then check UI and logs

      Expected behaviour

      • Search will end showing results

      Actual behaviour

      • If you are lucky, sometimes search loops infinitely and the below error is traced in logs

       

      [ERROR] com.sonicle.webtop.mail.Service - Exception
      jakarta.mail.FolderClosedException: null
              at com.sun.mail.imap.IMAPMessage.getProtocol(IMAPMessage.java:145)
              at com.sun.mail.imap.IMAPMessage.getHeader(IMAPMessage.java:915)
              at com.sonicle.webtop.mail.FolderCache.isAttachment(FolderCache.java:1717)
              at com.sonicle.webtop.mail.FolderCache.hasAttachements(FolderCache.java:1745)
              at com.sonicle.webtop.mail.Service.processPollAdvancedSearch(Service.java:8167)
      

      Attachments

        Issue Links

          Activity

            People

              gabriele.bulfon Gabriele Bulfon
              matteo.albinola Matteo Albinola
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package