Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Normal
-
Resolution: Fixed
-
Affects Version/s: Bug fixes, 2011-07-04
-
Fix Version/s: Bug fixes, 2011-08-15
-
Component/s: Search
-
Labels:None
Description
To reproduce:
1. Open http://musicbrainz.org/search/edits
2. Select "Type" "is" "Add medium"
3. Click "Search"
4. Change the condition without removing it (so don't click the red X), I use "Artist" "is" "Cycles".
This results in "Internal Server Error" on production.
On test.musicbrainz.org I get the following exception:
Caught exception in MusicBrainz::Server::Controller::Edit->search "Failed query:
'SELECT edit.* FROM edit WHERE () LIMIT 500 OFFSET ?'
(0)
DBD::Pg::st execute failed: ERROR: syntax error at or near ")"
LINE 1: SELECT edit.* FROM edit WHERE () LIMIT 500 OFFSET '0'
^ at /home/musicbrainz/musicbrainz-server/script/../lib/Sql.pm line 79.