Not compatible with entity_reference_tree

Created on 22 September 2021, over 3 years ago
Updated 2 May 2024, 8 months ago

Problem/Motivation

If the Entity reference Tree module is activated and the admin url is changed to another patch. a 404 error occurs when trying to access the url:

entity_reference_tree.json:
path: '/admin/entity_reference_tree/json/{entity_type}/{bundles}'

Steps to reproduce

-Activate the entity_reference_tree and rename_admin_paths modules.
-Create a taxonomy and add terms in the form of a tree.
-Add a term reference field pointing to the taxonomy created previously.
- in the form display of the field select: Entity reference tree widget

go admin / config / system / rename-admin-paths
mark Rename admin path and give a name to << Replace "admin" in admin path by >>

-try to add a node of the above type with the term reference field
- click on the Taxonomy term tree button
and it is right here that the error occurs because it cannot access the path /admin/entity_reference_tree/json/{entity_type}/{bundles}

Proposed resolution

in my case I have found a solution with the redirect module and doing a redirect the good url

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇪🇸Spain vimokkhadipa

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.

Production build 0.71.5 2024