Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

Rate Macro

Devstatus
Statusimplemented
Target4.4

Page locking alerts you if someone else is already editing a page you wish to edit.
See MGNLSLOCK-1@jira (was formerly MAGNOLIA-88@jira)

Soft Locking module provides concurrent editing capabilities.

Officialdocu
0Soft Locking module
1http://wiki.magnolia-cms.com/display/DOCS45/Soft+Locking+module

Problems

  • Magnolia has no explicit moment when you enter or leave the edit mode

Potential Solution

  • We should not use jcr locking but a soft locks
  • We could to use the preview button to toggle locking or unlocking
  • The pages are always opened in preview mode and pressing the edit button toggles to edit mode (lock).
  • The page polls then (by using ajax requests) and as soon no request reaches the server the the page is unlocked (no user action)
  • If a page is locked you still see the edit button but with a warning. If a user wants to he can none the less enter the edit mode.

Variations

A) lock only if you open a dialog

Scenarios

  • user A edits page x
  • user B edits page x
    • user B gets a warning about A editing the same page
    • does user A get a warning about B editing the same page?
  • user A is done with editing and saves page x
    • does user B gets a warning about A having savd the page?
  • user A clicks on preview
    • does user B gets a message about A releasing the lock?

Questions