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.
Hello,
I have created a taxonomy with parent and children.
Yesterday I have updated taxonomy_menu to 8.3.3 version.
My taxonomy menu:
- has lost all his children
- has lost all items weight
- has lost...
EDIT: also lost the possibility of changing hierarchy in the menu...
You have understand the problem I think. I though D8 version was more stable then the D7 one, concerning weight and everything, but seems there is still some problem remaining. Maybe it is due to this particular update?
I wanted to warn you because the only solution I found is to recreate my taxonomy menu from scratch... and I'm lucky because I'm steal in pre-prod.
Thank you for your time.
Comment | File | Size | Author |
---|---|---|---|
#13 | allow-override-parent-2830188.patch | 496 bytes | niko- |
|
Comments
Comment #2
anouComment #3
anouComment #4
anouI also want to add that when re-creating my taxonomy menu, it does not take into account the taxonomy terms weights it's referring to.
So also had to reorder all menu items to make them match my vocabulary order...
EDIT : finally I do not think this is a good idea once you have reordered your menu differently after you've created the terms. Should be only when you first create the taxonomy menu. See this post https://www.drupal.org/node/2762037#comment-11803631
Comment #5
anouAlso new bug: if I try to change a child position in hierarchy, it is not saved and the term goes back to is previous position in hierarchy... :(
Changing status to major because I think this is too much for one release :-)
Rolling back to 8.2.2 is my only solution for the moment. Sorry I do not have time and the full competence to create a patch for D8 for now.
Comment #6
anouComment #7
Chayemor CreditAttribution: Chayemor commentedI can confirm the bug, using Drupal 8.2.3 , the hierarchy is completely ignored. I am trying to make the taxonomy menu terms be children of links in their parent menu, upon save it gets reordered and they do not become children.
Comment #8
Anonymous (not verified) CreditAttribution: Anonymous commentedI'm having the same problem and I'm still trying to figure out how to fix it. I'm running on 8.2.4 with the latest stable of Superfish and the patch #95 of https://www.drupal.org/node/2631468.
I can - temporarily - fix the problem sometimes by disabling the expanding children checkbox for all taxonomy menus and then rearrange everything in the menu administration from, but after a clear cache the hierarchy is gone again.
Comment #9
ashopin CreditAttribution: ashopin at Portage CyberTech commentedWe're also seeing this issue with the latest update and existing menus. Reverting to the last version fixed the issue.
Comment #10
idiaz.ronceroCan confirm all sort of bugs related to weight, order, childs and parents.
Comment #11
4aficiona2 CreditAttribution: 4aficiona2 commentedI can confirm this too. Updated to Drupal 8.2.4 and Taxonomy Menu. Since the update Taxonomy Menu is broken.
Comment #12
niko- CreditAttribution: niko- at Adyax commentedHi
Could anyone explain why in
\Drupal\taxonomy_menu\Plugin\Menu\TaxonomyMenuMenuLink::$overrideAllowed
'parent' => 1 is commented, so seems this is the reason why we can't modify menu items order.
Comment #13
niko- CreditAttribution: niko- as a volunteer commentedLet's allow change parent in taxonomy menu items because menu configuration should be sepereated even if menu was created based on taxonomy vocabulary.
Comment #14
niko- CreditAttribution: niko- as a volunteer commentedComment #15
andypostGreat! that makes menu items movable!
Comment #16
CulacovPavel CreditAttribution: CulacovPavel commentedWorked and tested.
But i have same issue as
https://www.drupal.org/node/2867626
After apply patch from
https://www.drupal.org/node/2762037
1. is working, but in taxonomy menu i updated taxonomy, is updated weight in menu, but after clear cache, is reseted.
2. And add your patch from this issue, and drag and drop in menu, weight is changed and drag and drop working.
3 . but if change again weight via taxonomy menu , same bug. bag order that set in point 2.
Comment #17
dstolI don't really consider this RTBC, as it's just removing a comment. I'm going to close this as a dupe of #2762037: Order of Menu items according to the Taxonomy terms order. If someone could jump into testing the patch in #2762037-8: Order of Menu items according to the Taxonomy terms order that would be helpful.
Comment #18
dstolWhoops, wrong status.
Comment #19
niko- CreditAttribution: niko- as a volunteer commentedHi @dstol
The patch is mostly about the case when user add not term items in taxonomy menu (something like in menu based on taxonomy terms vocabulary user want add special single node page under taxonomy term item)
I think this is not a duplication. Could you confirm that you think that this case is cover with https://www.drupal.org/comment/12023681#comment-12023681
Thanks