BSON array keys should be disregarded during visitation

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 1.2.3
    • Affects Version/s: 1.2.2
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      BSON corpus spec tests for "Single Element Array with index set incorrectly" currently fail because we always use add_assoc() when appending elements of a BSON array to a PHP array. If we are visiting a BSON array, each element's key should be disregarded and we should use add_next_index() instead.

            Assignee:
            Jeremy Mikola
            Reporter:
            Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: