Closed (fixed)
Project:
Search API
Version:
7.x-1.x-dev
Component:
Views integration
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Aug 2017 at 18:56 UTC
Updated:
24 Sep 2017 at 14:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
ciss commentedComment #3
drunken monkeyThanks a lot for reporting this! Good catch!
However, I'm pretty sure we want to return an empty string, not an empty array, in this case?
Otherwise, looks very good! If you could please confirm this still works for you, I can commit it.
Comment #4
ciss commentedYou're absolutely right. I missed both the implode() call and the @return doc in the parent docblock.
I only came across this while altering/overriding exposed form widgets. I currently can't reproduce the edge case that led to problems in that method (and ultimately didn't include the patch).
IMO the patch looks sound and is ready to go.
Comment #5
ciss commentedSpoke too soon. Had the patch applied locally but not yet added to our make. Will test.
Comment #6
ciss commented... Definitely not able to reproduce. As mentioned in the summary, calls to ids_to_strings() are usually guarded against passing of empty values.
I believe I encounted this while testing the latest patch in #1783746: Add support for "between" operator (which we ultimately removed again). Back to RTBC.
Comment #8
drunken monkeyGood to hear, thanks for testing and reviewing!
Committed. Thanks again!