Fixed Draft last_update is never updated

Xon

Well-known member
Affected version
2.1.3
\XF\Entity\Draft::last_update is only set on entity insert, and never updated when an existing draft is saved. This doesn't match XF1 behaviour which did update last_update (or what the draft configuration indicates)
 
Related;

The XF.Draft._executeDraftAction javascript function doesn't let you refresh the last save-date to keep the current draft alive without making content changes. The save button just silently fails.
 
Thank you for reporting this issue. It has now been resolved and we are aiming to include it in a future XF release (2.1.4).

Change log:
Update draft last_update field when draft is updated.
Any changes made as a result of this issue being resolved may not be rolled out here until later.
 
Back
Top Bottom