Uploaded image for project: 'James Mailbox'
  1. James Mailbox
  2. MAILBOX-220

StoreMessageManager::getMessages returns no messages when using FROM ranges.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.5
    • None
    • store
    • None

    Description

      I do not get any messages using StoreMessaageManager::getMessages combined with MessageRange::from.

      This is due to the way StoreMessageResultIterator works : it is based on the comparaison with the TO value of the range.

      If this value is set to NOT_A_UID ( which is the case for the from range ), it will result in the StoreMessageResultIterator::hasNext to fail.

      Setting the TO value for the FROM message range to MAX_UID will solve the issue.

      Attachments

        Activity

          People

            Unassigned Unassigned
            btellier Benoit Tellier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: