Field "options" of existent menu items is overriding on any changes, but there can be some data stored by other modules. For example, Menu Icons module stores additional classes in "options" field. So, if you change term, its menu item will loose menu icon.

And more, if your taxonomy menu contains nodes count, attaching/detaching nodes to term will erase "options" too.

Patch fixes this problem, so we can create taxonomy menu, attach icons to menu items and then edit terms. Patch was made from 6.x-2.8.

Members fund testing for the Drupal project. Drupal Association Learn more


Dmitriy.trt’s picture

indytechcook’s picture

Thanks Dmitriy,

I took this one step further. Please test this patch to be sure it still resolves your issue.


Dmitriy.trt’s picture

Your patch resolves my problem, but it produces warning on node save:
user warning: Duplicate entry '269-11' for key 'PRIMARY' query: INSERT INTO taxonomy_menu (mlid, tid, vid) VALUES (269, 11, 2) in /home/dmitriy/Docs/Sites/orion/sites/all/modules/taxonomy_menu/ on line 22.
I've patched 6.x-2.8 release, by the way.

indytechcook’s picture

Status: Needs review » Fixed

I found the bug and committed the patch.

Dmitriy.trt’s picture

Great! Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.