- Issue created by @smustgrave
- π¨πSwitzerland saschaeggi Zurich
We're not using the sidebar for the media entity, so this must be some custom config or patch.
- π¨πSwitzerland saschaeggi Zurich
I still can't reproduce this, we'd need more steps or a video how to reproduce this
- πΊπΈUnited States smustgrave
Currently this is what we see when creating new media
But when we edit
- π©πͺGermany jurgenhaas Gottmadingen
It looks like there is a custom module in play. Out of core, there is no "View" tab for media, there is only "Edit" and that's the canonical route for media. If there is a module altering the routes so that there is one for viewing and one for editing, then the route name will be different and Gin can not recognize that route as a content entity form any longer.
Is that possible and if so, which module are you using for that?
- π©πͺGermany jurgenhaas Gottmadingen
I'm not sure that's the case. I've tested in a fresh Drupal 11.1 installation and there is no view-tab on media entities.
- π©πͺGermany jurgenhaas Gottmadingen
Is this something from the devel module? I see that this is enabled as well.
- π©πͺGermany jurgenhaas Gottmadingen
Found it, there is a setting in
/admin/config/media/media-settings
which allows enabling canonical pages for media. And that indeed changes the routing name for media entities.That's easy to fix, but I find that behaviour from core really strange.
- Merge request !561Issue #3496235 by smustgrave, jurgenhaas, saschaeggi: Media edit form not using sidebar β (Merged) created by jurgenhaas
-
jurgenhaas β
committed 6fbf882b on 4.0.x
Issue #3496235 by smustgrave, jurgenhaas, saschaeggi: Media edit form...
-
jurgenhaas β
committed 6fbf882b on 4.0.x
Automatically closed - issue fixed for 2 weeks with no activity.