Uploaded image for project: 'PHP Driver: Library'
  1. PHP Driver: Library
  2. PHPLIB-306

GridFS uploadDate should be set at completion time

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.3.0
    • Affects Version/s: 1.2.0
    • Component/s: None

      The GridFS spec states:

      The value of this field (updateLoad) MUST be the datetime when the upload completed, not the datetime when it was begun.

      PHPLIB currently sets this field during construction. Instead, it should be set when we insert the fs.files document (see: here).

            Assignee:
            katherine.walker@mongodb.com Katherine Walker (Inactive)
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: