Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Repeatable: Always
Steps to repeat:
1. Download and enable Media and File entity
2. In admin/config/regional/entity_translation set the file entity translatable
3. Add an image field to a content type and use the "Media file selector" widget
4. Create a node of this content type and add an image.
5. Modify the created node and edit the attached image
Expected Results:
You can edit the attache image in a dialog
Actual Results:
A dialog with "page not found" error is showed
Comment | File | Size | Author |
---|---|---|---|
#1 | et-edit_tabs.patch | 3.34 KB | peximo |
Comments
Comment #1
peximo CreditAttribution: peximo commentedThe problem is that ET add a menu path to show the language tabs; this menu path conflicts with that defined by media to show the edit dialog.
Attached patch adds a property to not generate the tab and should fix the problem.
Comment #2
plachLooks good to me. Let's test this for a while before commit.
Comment #3
plachCommitted and pushed, thanks.
Comment #5
Marty2081 CreditAttribution: Marty2081 commentedI still have the issue that is described in the summary. I've updated the Media and File Entity modules to the latest version and installed the development version of entity_translation (which includes the changed from the patch provided in this issue). When I disable the entity_translation module the issue is gone, so entity_translation is definitely the cause.