Closed (fixed)
Project:
Drupal core
Version:
9.4.x-dev
Component:
views.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Oct 2022 at 00:45 UTC
Updated:
12 Dec 2022 at 08:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
lendudeConfirmed, but its specific to the roles contextual, the rest work, quick scan didn't point me in the direction of a fix yet.
Comment #3
lendudeHere we go, test and fix.
Not 100% sold on the fix being in the base class. I can't think of why we would only allow this on numeric fields other than the possibility of digging yourself in a hole when using string values that contain special characters.
But the fix with less possible side effects would be to just set the default only in RolesRid, but since this is only used by two classes in core anyway, not sure why we shouldn't fix this in the base class, so that is what I did here.
Comment #5
smustgrave commentedTested following the steps in the issue summary.
Tried different combos of the "Allow multiple values" and "Allow multiple filter values to work together"
Saved the view entirely and went back in to edit. and it all worked.
Comment #6
rreedy commentedIs it safe to use the 3318108-3.patch patch now? If so I'm planning on implementing in the next week, but wanted to be sure it was good to go (Sorry i'm still kind of new here and don't fully know the procedure).
Comment #7
alexpottGiven the default is false I think this is fine. If you know your strings do not contain pluses that you are fine to use this.
Committed and pushed 6124da7496 to 10.1.x and f41b3c6ffc to 10.0.x and db7e48bf38 to 9.5.x. Thanks!
Committed 458f241 and pushed to 9.4.x. Thanks!
Credited @rreedy for filing the bug report.