Last modified: 2013-09-26 15:11:56 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T55509, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 53509 - Searching for "(incategory:" or "(incategory: )" produces a backend error
Searching for "(incategory:" or "(incategory: )" produces a backend error
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CirrusSearch (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-29 00:42 UTC by Faidon Liambotis
Modified: 2013-09-26 15:11 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Faidon Liambotis 2013-08-29 00:42:34 UTC
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)
Comment 1 Nik Everett 2013-08-29 00:46:50 UTC
Triaging high because this is blowing up.  It should be simple enough just to ignore empty incategory: and intitle:.
Comment 2 Nik Everett 2013-08-29 01:15:48 UTC
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.
Comment 3 Nik Everett 2013-08-29 01:26:48 UTC
Tests in gerrit:  https://gerrit.wikimedia.org/r/#/c/81612/
Comment 4 Nik Everett 2013-08-29 01:55:57 UTC
Fix in gerrit: https://gerrit.wikimedia.org/r/#/c/81615/
Comment 5 Gerrit Notification Bot 2013-08-29 20:51:33 UTC
Change 81612 had a related patch set uploaded by Chad:
Test for searching incategory:"".

https://gerrit.wikimedia.org/r/81612
Comment 6 Gerrit Notification Bot 2013-08-29 20:54:09 UTC
Change 81612 merged by jenkins-bot:
Test for searching incategory:"".

https://gerrit.wikimedia.org/r/81612
Comment 7 Gerrit Notification Bot 2013-08-29 21:01:36 UTC
Change 81615 had a related patch set uploaded by Chad:
Ignore incategory:""

https://gerrit.wikimedia.org/r/81615
Comment 8 Gerrit Notification Bot 2013-08-29 21:02:53 UTC
Change 81615 merged by jenkins-bot:
Ignore incategory:""

https://gerrit.wikimedia.org/r/81615
Comment 9 Nik Everett 2013-08-30 13:11:33 UTC
Merged.  It should be on beta now.
Comment 10 Nik Everett 2013-09-26 15:11:56 UTC
Verified working on test2wiki.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links