If you assign multiple parents to a term for the first time in a given vocabulary you are warned that drag and drop functionality will be disabled. In fact, however, after agreeing to proceed, you can still drag and drop the terms to change their parents and weight, however, the save changes button is no long visible.
This is a bit confusing. I'd say that drag and drop needs to be fully disabled when there are multiple parents assigned to one more terms. I believe this was the case at one point but no longer is.
I tested with a D7 head build from Nov 10th.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 969194-taxonomy-drag-drop-5.patch | 2.2 KB | mr.baileys |
| #2 | 969194-taxonomy-drag-drop-2.patch | 2.54 KB | mr.baileys |
Comments
Comment #1
mr.baileysMarked #1090586: taxonomy drag & drop not properly disabled for multiple parent vocabs as duplicate.
Comment #2
mr.baileysLooks like this was caused by adding a weight column in #846524: Terms cannot be manually reordered by weight. for accessibility reasons, since the patch that got committed there enables tabledrag behavior regardless of the taxonomy hierarchy type.
Patch attached that:
Comment #3
stockliasteroid commentedI'd like this to get committed... This was causing major headaches for a client that keeps screwing up the hierarchy, but the fact that it still "sort of" works is super confusing. This makes is a boolean condition, you can either reorder or you can't.
Tried this on that site and it worked a treat.
Comment #4
megaphonejon commentedI was bit by this bug - I was able to work around it by not using multi-parent taxonomy terms (they weren't 100% necessary in my case). But a) thanks for folks for posting this, it was the post that helped me solve my problem, and b) I'll add a +1 for committing the patch.
Comment #5
mr.baileys@stockliasteroid, @Palantejon: thanks for confirming the bug and testing the patch. Unfortunately, bugs have to be fixed in the development branch first, so switching to 8.x-dev. Once it's committed in 8.x, it can be backported to 7.x.
8.x patch attached...
Comment #6
kscheirer#5: 969194-taxonomy-drag-drop-5.patch queued for re-testing.
Comment #8
cilefen commentedComment #14
panchoThis appears to be fixed as of v8.5.x (at least).
Comment #15
panchoActually, this still might be a valid bug report against 7.x