In the taxonomy override page I tried "Term has parent(s)" as a selection rule but was unable to select anything (see attached image). If nothing is selected all is fine but with a selection I get an "An illegal choice has been detected. Please contact the site administrator." error.
grossmann-mcs
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | taxonomy-selection.png | 57.53 KB | acbramley |
| #3 | 1274066-ctools-access-term.patch | 3.7 KB | andypost |
| panels-term-has-parents-error.jpg | 37.18 KB | grossmann |
Comments
Comment #1
stockliasteroid commentedI'm having this issue as well. The form being submitted must not match the form that was built on the server somehow.
Comment #2
dwkitchen commentedSame issue here in the log the error is:
Comment #3
andypostConfirm. This means that chosen element of the form is not in allowed values!
Provided patch:
- changes 'select' to 'checkboxes' - right now select does not return any result values
- removes unused validation key, if you implemet validation it's not triggered
- optimizes storage, filtering values on submit and optimizes in_array() to isset()
Comment #4
Jinbo commentedAfter saved, Error:
Notice: Trying to get property of non-object in ctools_term_has_parent_ctools_access_summary() (line 161 of /path/to/ctools/plugins/access/term_has_parent.inc).
Comment #5
andypost@eclife do you tried my patch #3
Comment #6
jenlamptonWow, much improved UI! (and error gone).
Comment #7
merlinofchaos commentedCommitted! THanks!
Comment #9
acbramley commentedHi, sorry for reopening but I was getting the same issue and after applying the patch I now get a spinner that never loads (see screenshot). In my dblog I can see the following errors:
Comment #10
acbramley commentedComment #11
andypost@acbramley Just delete/add this criteria - I've tested right now with patch applied to ctools-rc1
Also probably you have a very big vocabulary so loading takes a lot of time but this not related to the issue - please file another one
Comment #11.0
andypostfixed typo