My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 2227: Non-numeric label values cause internal server error
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


Sign in to add a comment
 
Reported by jussi.ju...@ericsson.com, Oct 31, 2013
Affected Version: 2.7

What steps will reproduce the problem?

Create a query that includes a label with non-numeric value. For example "label:verified==1". This is apparently parsed by Gerrit to have value "=1" and it is apparently tried to decode as number. A value with "label:verified=1a" also causes internal server error.

This happens with Gerrit web interface and with queries over SSH:

ssh -p 29418 gerrithost gerrit query label:verified==1

What is the expected output? What do you see instead?

A notice about invalid search query or empty results.
Nov 6, 2013
Project Member #1 david.pu...@sonymobile.com
I get the internal server error when running against 2.6.x and 2.7 but not on the latest 2.8 release candidate.

Nov 13, 2014
Project Member #2 zaro0508
 can't repro this problem in gerrit 2.8 or on gerrit-review.googlesource.com.  I think it's fixed.
Sign in to add a comment

Powered by Google Project Hosting