Error page trying to compare non-existing (deleted) revisions

Created on 5 August 2020, almost 4 years ago
Updated 24 May 2024, about 1 month ago

Problem/Motivation

Trying to compare non-existing revisions, for example, by following an outdated diff link that points to deleted revisions, ends in unexpected error page when it should end in page not found.

Steps to reproduce

Just open a node diff URL with non-existing revision IDs, such as http://localhost/node/1/revisions/view/998/999/visual_inline

Proposed resolution

Review the node diff controller to throw page not found exception when no revision found.

Remaining tasks

Review, test?.

User interface changes

N/A

API changes

N/A

Data model changes

N/A

🐛 Bug report
Status

Needs work

Version

1.0

Component

Code

Created by

🇪🇸Spain manuel.adan 🌌

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

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.

Production build 0.69.0 2024