| Issue 2422: | REST API, unable to query changes when project has a space in the name | |
| 1 person starred this issue and may be notified of changes. | Back to list |
************************************************************ ***** NOTE: THIS BUG TRACKER IS FOR GERRIT CODE REVIEW ***** ***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, INTERNAL ***** ***** ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC. ***** ***** THOSE ISSUE BELONG IN DIFFERENT ISSUE TRACKERS! ***** ************************************************************ Affected Version: 2.7 What steps will reproduce the problem? 1. create a new project with a space in the name, e.g. 'Project X' 2. create a submission, or two 3. attempt to query for changes like: /changes/?q=project:Project+X or /changes/?q=project:Project%20X neither seem to return anything. If I do the same but name the project instead "Project_X" I can query for changes. /changes/?q=project:Project_X Understood it may be bad form to put a space in a project name but the gerrit doesn't prevent this when creating a new project. What is the expected output? What do you see instead? Should be able to query for changes even if the project name has a space in it (or such project names should be disallowed). Please provide any additional information below.
Jan 24, 2014
Project Member
#2
david.pu...@sonymobile.com
Jan 24, 2014
BTW you can see the query by looking at the list of open changes in the UI and then looking at the link on the project name, which goes to the query for all open changes for that project.
Jan 24, 2014
Closing. The REST API is working as expected.
Status:
Invalid
|
|
| ► Sign in to add a comment |