About closing of cursors

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Fix
    • Priority: Minor - P4
    • None
    • Affects Version/s: 2.6.5
    • Component/s: API
    • Environment:
      jruby 1.6.4
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Given: a new cursor via a find on a collection
      If: the cursor is closed before any documents are fetched
      And: the sort order is changed
      Then: No exception is thrown

      Is this a bug? I expect that an exception should be thrown if one changes the sort or limit etc on a closed cursor.

            Assignee:
            Unassigned
            Reporter:
            Guy Boertje
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: