Add Diff module support for the Storage Entities module

Created on 22 May 2021, almost 4 years ago
Updated 30 October 2023, over 1 year ago

In Storage Entities 1.0.0 the ability to add revisions to a storage entity was added. I've installed the Diff module ( https://www.drupal.org/project/diff → ) trying to visualize changes between revisions. Problem is that on the revisions page of a storage entity the "compare selected revisions" button isn't showing up like it does for a content entity. So the ability for visualizing the diff also between revisions for storage entities would be super useful.

✨ Feature request
Status

Active

Version

1.1

Component

User interface

Created by

🇩🇪Germany rkoller Nürnberg, Germany

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

Comments & Activities

Not all content is available!

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

  • 🇬🇧United Kingdom lexsoft London

    +1 for this, would also like to have the support for diff module for revisions.

  • If a comparison cannot be made, I think there is no big point in Storage Module instead of using node revisions.
    When I try to compare revisions in the views table the following log appears.

    Symfony\Component\Routing\Exception\RouteNotFoundException: Route "entity.storage.revisions_diff" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName() (line 211 of core/lib/Drupal/Core/Routing/RouteProvider.php).
    

    Maybe the maintainer is so busy or has stopped supporting the module because the scheduling isn't working either.

  • 🇬🇧United Kingdom tce

    +1 for this

    I have just encountered this issue. Does anyone have any workarounds?

  • 🇬🇧United Kingdom tce

    To get this working, I just created a route in my module with route name 'entity.storage.revisions_diff'. The route just creates a random empty page but allows the diff plugin to build the revision difference

Production build 0.71.5 2024