[wp-trac] [WordPress Trac] #18782: Autosave collision detection messaging never gets displayed to the editor.
WordPress Trac
wp-trac at lists.automattic.com
Mon Sep 26 17:35:59 UTC 2011
#18782: Autosave collision detection messaging never gets displayed to the editor.
-------------------------------+-----------------------------
Reporter: IAmWilliamWallace | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Autosave | Version: 3.2
Severity: normal | Keywords: has-patch
-------------------------------+-----------------------------
The message "Autosave disabled: (user) is currently editing this post." is
being over written by a previous autosave message so the editor never sees
the autosave error.
Steps to reproduce:[[BR]]
Editor A: Creates a new post and starts adding content.("A" has
lock)[[BR]]
Editor B: Starts editing the same post and clicks save draft ("B" has
lock)
Editor A: continues to make changes and autosave fires. At this point
editor B has the lock and the autosave will fail and be disabled but the
message is not apparent because the error will be overwritten with the
default autosave message "Last edit by "
---[[BR]]
To fix this, the autosave messages (not errors) need to be in the control
statement if ( !res.errors )
The problem existed in versions before 3.2 but this patch is for >= 3.2
since the autosave css class names changed.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18782>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list