BSON decoding errors for Javascript scopes only thrown at access time

XMLWordPrintableJSON

    • None
    • None
    • None
    • None
    • None
    • None

      The Javascript class decodes the scope document on access, which means that decoding errors are only thrown when the scope is accessed (e.g. var_dump(), Javascript::getScope()) instead of when the Javascript object is initialized from BSON.

      This has implications for the "bad scope doc (field has bad string length)" test in the BSON corpus spec test suite.

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

                Created:
                Updated:
                Resolved: