Soft Locking module

Collaboration and workflow Bundled: DX Core

Edition DX Core

License

MLA

Issues

Maven site

Latest

4.0.0

The Soft Locking module provides concurrent editing capabilities. Multiple editors can edit pages simultaneously and coordinate their activities within the authoring interface. Soft locking differs from JCR hard locking in that it stores information about who is editing content and this information is displayed as a warning to other users editing the same page. Whereas hard locking would prevent another user from editing the page, soft locking provides multiple-user access to content and facilitates efficient content contribution.

Module structure

artifactID

magnolia-soft-locking-parent

Parent reactor.

     magnolia-soft-locking

Main module containing the implementation as well as the integration functions for the Pages app.

     magnolia-module-soft-locking

Submodule containing the Soft Locking compatibility module. Bundled in magnolia-dx-core-webapp and used for backward compatibility.

For custom bundles, you have to add it yourself.

Installing with Maven

Maven is the easiest way to install the module. Add the following to your bundle:

<dependency>
  <groupId>info.magnolia.soft-locking</groupId>
  <artifactId>magnolia-soft-locking</artifactId>
  <version>4.0.0</version> (1)
</dependency>
1 Should you need to specify the module version, do it using <version>.

Working together

The number of concurrent editors is displayed at the bottom of the page editor. Click the icon to see who is editing the same page.

Tour preview with the number of users editing the page at the bottom

If users leave the page or new users start editing the page, the icon showing currently active users is updated accordingly. Additionally, notification messages are displayed in certain situations:

  • When another user saves their changes.

    Notification message

  • If the page is moved.

  • If the page is deleted.

When multiple people edit the same dialog simultaneously, the last change made by any editor overrides all previous changes. For example, Jane and Eric open a dialog to update page content, making changes concurrently. Jane is the last person to save changes, so her changes overwrite those from Eric.

Feedback

DX Core

×

Location

This widget lets you know where you are on the docs site.

You are currently perusing through the DX Core docs.

Main doc sections

DX Core Headless PaaS Legacy Cloud Incubator modules