Problem/Motivation

The "Break lock" link on the page where one confirms that they want to break a lock on a view is incorrect.

break lock button

The button points to
http://admin/structure/views/view/images/break-lock

instead of
http://[siteurl]/admin/structure/views/view/images/break-lock

Steps to reproduce:

  1. Open two browsers.
  2. Edit a view in one browser, but don't save.
  3. Edit the view in another browser.
  4. Go to the "break this lock" path on from the error message (a separate has already been filed for that link display).
  5. Click the blue "break lock" button.

You will get a "can't find server" error.

I'm seeing this in Chrome, Safari, and Firefox. My OS is Mac OS X Yosemite, and I'm using MAMP with php 5.6.2.

Proposed resolution

The link needs to correctly include the siteurl where it is currently missing.

The temporary workaround for a site builder unable to apply a patch is for the user to manually edit the URL in their browser to include the site URL.

CommentFileSizeAuthor
break-lock-button.png40.59 KBrainbreaw

Comments

chrissnyder’s picture

Status: Active » Closed (cannot reproduce)

Unable to reproduce on Drupal 8.7.6