Problem/Motivation

Pagedesigner supports a custom locking mechanism while an editor is working on the pagedesigner content. Currently, the lock is created on entering edit mode and deleted when the user navigates away or the tab is closed. An undeleted lock is valid for 15 minutes. The lock is scoped to one tab/window to prevent the same user editing the same page in different tabs/windows.

Proposed resolution

Rework the locking mechanism to reflect current editing state better.

Remaining tasks

We will alter the locking mechanism as follows:

  • Check and renew locks on edit action.
  • Make sure locks are deleted on reload.
  • Ignore locks older than 3 minutes (no editing activity).
  • Add a permission so roles with that permission can delete locks at "/admin/config/pagedesigner/locks".
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

pvbergen created an issue. See original summary.

  • pvbergen committed b655802 on issue/3320095
    #3320095: Make sure lock deletion xhr is sent
    

  • pvbergen committed b655802 on 2.x
    #3320095: Make sure lock deletion xhr is sent
    

  • pvbergen committed abd6f55 on issue/3320095
    #3320095: Force difference to 2.x
    

  • pvbergen committed b655802b on issue/3319991
    #3320095: Make sure lock deletion xhr is sent
    

  • pvbergen committed b655802b on misc/debugger_improvement
    #3320095: Make sure lock deletion xhr is sent
    
pvbergen’s picture

Version: 2.x-dev » 3.x-dev

pvbergen’s picture

Issue summary: View changes

pvbergen’s picture

Issue summary: View changes
pvbergen’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.