Fixed Draft last_update is never updated

Affected version
2.1.3

Xon

Well-known member
\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)
 

Xon

Well-known member
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.
 

XF Bug Bot

XenForo bug fixer bot
Staff member
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.
 
Top