Page MenuHomePhabricator

Searching for "(incategory:" or "(incategory: )" produces a backend error
Closed, ResolvedPublic

Description

Searching for an empty category produces:
"An error has occurred while searching: The search backend returned an error: "
and then nothing else (no backend error)


Version: unspecified
Severity: normal

Details

Reference
bz53509

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:01 AM
bzimport added a project: CirrusSearch.
bzimport set Reference to bz53509.
bzimport added a subscriber: Unknown Object (MLST).

Triaging high because this is blowing up. It should be simple enough just to ignore empty incategory: and intitle:.

I can't reproduce this with:
incategory:
(incategory:
(incategory: )
"(incategory:"
"(incategory: )"

but I certainly see a nasty error when I search for
incategory:""
incategory:"" main
main incategory:""

If you substitute intitle: for incategory: it also produces the error.

I also get a different error message:
An error has occurred while searching: We could not complete your search due to a temporary problem. Please try again later.

I get that error message locally, on test2wiki, and on mediawiki.org.

Change 81612 had a related patch set uploaded by Chad:
Test for searching incategory:"".

https://gerrit.wikimedia.org/r/81612

Change 81612 merged by jenkins-bot:
Test for searching incategory:"".

https://gerrit.wikimedia.org/r/81612

Change 81615 had a related patch set uploaded by Chad:
Ignore incategory:""

https://gerrit.wikimedia.org/r/81615

Change 81615 merged by jenkins-bot:
Ignore incategory:""

https://gerrit.wikimedia.org/r/81615