Uploaded image for project: 'Swift Driver'
  1. Swift Driver
  2. SWIFT-652

Ensure driver always inspects the error field of cursors after iterating them

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0-rc0
    • Component/s: None
    • Labels:
      None

      Description

      Currently in listIndexNames, we map the cursor to a [String] without inspecting the error field. This means that e.g. one of the getMore s performed by the mongoc_cursor_t could fail without us reporting that to the user.

      We should fix this case and check the driver in other places to ensure we are properly reporting errors.

        Attachments

          Activity

            People

            Assignee:
            kaitlin.mahar Kaitlin Mahar
            Reporter:
            patrick.freed Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: