When creating a new revision, value of $entity->revision_created will be copied from the old revision. As a result of this, CommerceLicenseEntityController::saveRevision() will always create revisions with a creation date copied from the previous revision.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | commerce_license-revision_properties-2930473-3.patch | 1.29 KB | pjcdawkins |
| #2 | 2930473-2.patch | 811 bytes | bbujisic |
Comments
Comment #2
bbujisic commentedSolved by unconditionally assigning the revision_created and revision_ended values in
CommerceLicenseEntityController::saveRevision()Comment #3
pjcdawkins commentedThis does the same thing for the revision_uid property and also fixes the log property.
Comment #5
pjcdawkins commented