Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
RevisionControllerTrait doesn't properly generate the operations links render array. Furthermore RevisionOverviewController::buildRevertRevisionLink() checks for a non-existent link template.
Proposed resolution
Check for "revision-revert-form" (and "revision-delete-form") link templates in RevisionOverviewController::buildRevertRevisionLink() and format them as "operations" links in RevisionControllerTrait::revisionOverview().
Comment | File | Size | Author |
---|---|---|---|
#2 | revisioncontrollertrait-2717937-2.patch | 3 KB | paranojik |
Comments
Comment #2
paranojik CreditAttribution: paranojik as a volunteer commentedFix and test for the above.
Comment #3
slashrsm CreditAttribution: slashrsm at MD Systems GmbH commentedLooks good to me. #2716139: Depend on Entity API to provide revision UI depends on it.
Comment #6
dawehnerWorks for me, we add test coverage and fix the bug. Thank you for providing the test!
Comment #9
BerdirToo late testbot.