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.

Comments

rkoller created an issue. See original summary.

mxh’s picture

Title: Add Diff module support for the Storage Entites module » Add Diff module support for the Storage Entities module
Version: 1.0.0 » 1.1.x-dev
lexsoft’s picture

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

pearls’s picture

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.

tce’s picture

+1 for this

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

tce’s picture

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