mongoErrorContextSymbol undefined in isGetMoreError() in change_stream.js

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Native
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In isGetMoreError(), we return !!error[mongoErrorContextSymbol].isGetMore;. This assumes that mongoErrorContextSymbol is always defined, which may not be true. We should check to make sure mongoErrorContextSymbol is defined before accessing isGetMore.

       

              Assignee:
              Katherine Walker (Inactive)
              Reporter:
              Katherine Walker (Inactive)
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: