Closed (fixed)
Project:
Term condition
Version:
8.x-1.1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Feb 2018 at 01:23 UTC
Updated:
17 May 2019 at 05:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
heiket commentedP.P.S. ... and we have looked into block visibility groups, but this adds too much complexity. Multiple terms is all that is needed :).
Comment #3
danielvezaGot a patch that is currently in internal testing that should fix this and allow for multiple behaviour.
Will post in the next day after I've done some clean ups + comments etc.
Comment #4
danielvezaFinally had some time to get back to this!
Attached is a patch that allows for the multiple terms behaviour. Code reviews + testing would be great!
Comment #5
danielvezaFixing an undefined index issue found in some testing,
Comment #6
mlncn commentedDefinitely wanted! Marking needs review.
Comment #7
danielvezaJust an FYI - We have used this patch in our distribution and multiple sites with no issues.
Comment #8
jastraat commentedWe are also using this patch. It works to allow multiple taxonomy terms.
However - there is another issue. When we have multiple taxonomy terms, we run into the following:
"Select a taxonomy terms(s) cannot be longer than 128 characters but is currently 129 characters long."
Multiple taxonomy terms can have a significant length. Would another field type (perhaps a listbox?) make more sense?
Comment #9
danielvezaI'm trying to take over maintainership of this module at the moment. When approved this is one of the patches I'll be committing. At the same time I'll look at raising the amount of characters allowed or maybe changing field type.
Alternatively for now, maybe use another hidden vocab to achieve the same purpose with smaller terms?
Comment #10
mlncn commentedDanielVeza, do you have an official request open to be a maintainer? If not add your name to https://www.drupal.org/project/term_condition/issues/3046649 maybe? If the maintainer is unresponsive it helps to have a public timeline of requests.
Comment #11
danielvezaI do yep - I should be getting maintainership soon.
https://www.drupal.org/project/projectownership/issues/3014619
Comment #12
danielvezaNew patch - Uses DI properly and makes things a little cleaner. I've tested on my local. I'll give others a day or two to test and mark RTBC, otherwise I'll commit after that!
Thanks all.
Comment #15
danielvezaThanks all for your help. Seems the credit didn't come through for some reason.. :(
Attempting to give credit in this comment.
EDIT: Looks like it has come through now.
Comment #16
danielvezaRegardless - This is fixed now. Thanks all for the help and testing.
New release should be coming out in the next ~2 weeks. Once I've sorted the rest of the issues in the queue.