Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-25300

Incorrect syntax in for loop in collection.js

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.11
    • Affects Version/s: None
    • Component/s: Shell
    • None
    • Fully Compatible
    • ALL
    • Platforms 18 (08/05/16)

      Via DOCS-8430

      for loop in collection.js line 683 has incorrect order .

      Via jbreams,

      The for loop is backwards. It should be

      for(i = 0; i < indexSpecs.length; i++)

      not

      for (i = 0; i++; i < indexSpecs.length)

            Assignee:
            waley.chen Waley Chen
            Reporter:
            ravind.kumar Ravind Kumar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: