Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-889

BSON decoding errors for Javascript scopes only thrown at access time

      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@mongodb.com Andreas Braun
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: