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

Always encode ODS field when serializing Persistable documents

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Critical - P2 Critical - P2
    • 1.1.3
    • Affects Version/s: 1.1.2
    • Component/s: None
    • None

      See: https://github.com/mongodb/mongo-php-driver/blob/94da5474070ad80b7e69da41c720d17a73cb94b4/src/MongoDB/BulkWrite.c#L153

      This will break some of the ODS tests, which is intentional. They will need to be removed, since bsonSerialize() should not be in the business of returning atomic modifiers (at least not with Persistable objects).

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: