Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
It appears that when a regcode is deleted, the regcode_term records related to it are not deleted.
A record is added to the regcode_term table when a code is assigned a tag. Not cleaning up these regcode_term records can cause an issue if you use the tag to find the related regcode(s), because you will have an rid that isn't tied to a record in the regcode table.
I'll work on a patch and post it here when I've tested it.
Comment | File | Size | Author |
---|---|---|---|
#1 | regcode_delete_tags-1395690-1.patch | 716 bytes | JuliaKoelsch |
Comments
Comment #1
JuliaKoelsch CreditAttribution: JuliaKoelsch commentedI've attached a patch. Let me know if you have any questions. Thanks!
Comment #2
nsurround CreditAttribution: nsurround commentedApplied the patch in #1 but still does not delete the associated tag term in the vocabulary.
Comment #3
aidanlis CreditAttribution: aidanlis commented@nsurround it shouldn't delete the term, just the reference to it. I need a patch which does this more thoroughly than just the VBO action.