Diff button error

Created on 30 October 2024, 10 months ago

Problem/Motivation

We are getting an error when a group_content_menu β†’ is in a workspace.
Symfony\Component\Routing\Exception\MissingMandatoryParametersException: Some mandatory parameters are missing ("group") to generate a URL for route "entity.group_content_menu.workspace.revisions_diff". in Drupal\Core\Routing\UrlGenerator->doGenerate() (line 187 of core/lib/Drupal/Core/Routing/UrlGenerator.php).

Steps to reproduce

Add a group_content_menu item to a workspace with the diff module enabled and goto the Manage Workspace page.

Proposed resolution

Extend the entity.$entity_type_id.workspace.revisions_diff route and link generator to support multiple entities. I'm not sure this is possible to support here? Maybe group_content_menu needs to support this since there may not be a way to discern the group parameter in a generic way.

πŸ› Bug report
Status

Needs work

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States tim bozeman

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

Comments & Activities

Production build 0.71.5 2024