Previewing appears to unlock node

Created on 1 March 2018, over 6 years ago
Updated 3 October 2023, about 1 year ago

If you edit a node, then hit "Preview", and after the preview page loads, you hit the "Back to Content Editing" button, you are returned to the edit form but there's no message at the top of the page and no "Unlock" button.

πŸ› Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States oknate Greater New York City Area

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Open in Jenkins β†’ Open on Drupal.org β†’
    Core: 9.5.x + Environment: PHP 8.1 & MySQL 8
    last update about 1 year ago
    Patch Failed to Apply
  • There appears to be an issue with patches #7 and #11 where they add additional lock messages when editing published content.

    When using the paragraph system, clicking edit makes a POST call to Drupal which triggers the form alter logic. This means large content pieces can have many lock messages appear which can be very distracting. I have added an image demonstrating this.

    It is possible to prevent these messages by first checking how the form alter request is being made. If it's a POST request, then it's likely a paragraph being edited and no message needs to be displayed. However, if it's a GET request, then the user is likely navigating to the page from either the content preview or the content listing page and the message should be displayed.

  • Status changed to Postponed: needs info 8 months ago
  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    I tried replicating on the latest 2.x branch but wasn't able to. Is this still an issue?

  • Status changed to Needs work 8 months ago
  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Wasn't able to replicate but think the message that the content is locked should still be there.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave
  • Pipeline finished with Failed
    8 months ago
    Total: 466s
    #130805
  • Pipeline finished with Failed
    8 months ago
    Total: 210s
    #130806
  • Pipeline finished with Failed
    8 months ago
    #130816
  • Status changed to Needs review 8 months ago
  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Added some test coverage for this.

  • Pipeline finished with Failed
    8 months ago
    Total: 587s
    #130821
  • Pipeline finished with Success
    8 months ago
    Total: 256s
    #130828
  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Rebased

  • Pipeline finished with Success
    8 months ago
    Total: 235s
    #131581
  • πŸ‡ͺπŸ‡ΈSpain enchufe Spain

    Rerrolled for 3.0.0-alpha2

Production build 0.71.5 2024