Changes cannot be made to a locked view.

Error Type: 
Contributed Module
Module: 
Severity: 
Error
Origin: 
drupal_set_message
File name: 
views_ui.module
Description: 

The Views module contains a sub-module called Views UI, which provides the user interface through which site administrators manage their Views. Since Drupal is a multi user CMS there could be a danger that if one user were editing a View at the same time as another user one of those users could lose their work if it got overwritten by their colleague.

Cause: 

To guard against saving conflicts when managing Views, the Viws UI module sets a flag ($view->locked) when a user starts to edit a View. When this flag is set no other user can edit the View until the flag is removed.

Solution: 

The "locked" flag can be remvoed using any of the following techniques:

  • The user who was responsible for setting the "locked" flag can save their changes to the view.
  • The user who was responsible for setting the "locked" flag can save their cancel their changes to the view.
  • The user who is not able to edit the view can choose to explicitly break the lock, but they become responsible for the possible loss of data caused to the other user who can no longer save their changes.

Expedite

Our aim is to add enough detailed information to each of the Drupal error messages that Drupal developers will be able to fix their own problems. This exercise will take some time to complete, at the last count we had almost 700 error messages in the system.

If your site is suffering from this error message please contact us and ask us to expedite the solution to this error and we will do our best to add a solution as soon as possible.