Details
-
Bug
-
Resolution: Fixed
-
High
-
4.1.3, 4.2.x-dev
-
Ibexa Content
Description
Steps to reproduce:
- Create new taxonomy "categories", follow the steps from the documentation (https://doc.ibexa.co/en/4.1/guide/taxonomy/taxonomy/#__toc).
- Create some tags under the default "tags" tree and some tags under the "categories" tree.
- Add two taxonomy entries to Article Content Type ("tags" and "categories").
- Create Article Content Type and try to select root for both taxonomy fields.
Result:
The tree that is loaded in both fields is the tree of "tags" taxonomy.
Expected result:
You should see "categories" tree when selecting parent of second taxonomy field.
Note:
In both cases the AJAX request is as follows: localhost/admin/taxonomy/tags/tree/1 but in second case it should be localhost/admin/taxonomy/categories/tree/1.
As of now vendor/ibexa/taxonomy/src/lib/Event/Subscriber/ConfigureMainMenuSubscriber.php is broken so creating a second taxonomy using UI should be done using a workaround:
- disable the menu generation in the mentioned file.
- create a "root" category entry.
- enable menu.