Closed (duplicate)
Project:
Drupal core
Version:
7.x-dev
Component:
taxonomy.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Jan 2011 at 16:59 UTC
Updated:
10 Jan 2011 at 17:13 UTC
Attached is a test case that demonstrates the issue. When a node has a reference to a taxonomy term, that reference is not deleted when the term is deleted.
I see 3 possible fixes.
1. Delete the term references on nodes when the term is deleted
2. Forbid the deletion of terms if a current node revesion contains a reference to the term.
3. Automatically create a new node revision for affected nodes which does not contain the term reference.
| Comment | File | Size | Author |
|---|---|---|---|
| taxonomy_2.test | 1.85 KB | tekante |
Comments
Comment #1
tekante commentedTo clarify possible solutions listed in issue, I am seeking feedback on what the perceived correct solution would be.
Comment #2
bblake commentedsubscribe
Comment #3
catchThis is 'by design' at the moment, there is a very long discussion at #914306: Create a batched framework for entity updates which has some proposed solutions to make it easier to fix. The current taxonomy behaviour is the same as node and user reference from D6 contrib (and their D7 counterparts) - we accept that terms may 'disappear' and handle it in the code. I don't like it, but we need to fix #914306: Create a batched framework for entity updates first.