Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-248

QMailRetrievalAction::retrieveMessageList() default "minimum" value returns no messages, in contradiction with documentation.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 1.1.x
    • Fix Version/s: None
    • Component/s: Messaging: QMF
    • Labels:
      None

      Description

      With

      QMailRetrievalAction::retrieveMessageList ( const QMailAccountId & accountId, const QMailFolderId & folderId, uint minimum = 0, const QMailMessageSortKey & sort = QMailMessageSortKey() )

      documentation says:

      "If minimum is non-zero, then that value will be used to restrict the number of messages to be retrieved from each folder; otherwise, all messages will be retrieved."

      Checking with GMail IMAP, when we pass a "0" "minimum" value or don't pass the parameter at all, using the default value, no messages are retrieved.

      Maybe it is working OK with POP but kind of think, after a quick look to the code, that here there are mixed "int" and "uint" types and defines. While the API uses "uint" with "0" as default meaning "ALL", in the internal code it is used "int" with "-1" meaning "ALL".

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            sanders Don Sanders (closed Nokia identity) (Inactive)
            Reporter:
            tanty Andres Gomez
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes