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.
I use the community tags module as an API. It's working well, but if I want to remove all tags from a node the changes aren't saved, because processed_terms is empty and the loop in md_postfach_tag_node_form_submit()
foreach ($processed_terms as $vid => $processed_terms_for_vocabulary) {...}
never will be entered. I guess if All terms from just one vocabulary should get removed it won't work too.
Comment | File | Size | Author |
---|---|---|---|
#1 | community_tags-remove-all-tags-1773714-1.patch | 786 bytes | osopolar |
Comments
Comment #1
osopolarThe fix is quite easy.
Comment #2
Leeteq CreditAttribution: Leeteq commentedComment #2.0
Leeteq CreditAttribution: Leeteq commentedCorrected "remove all nodes from a node" to "remove all tags from a node" in the main issue description.