500 when trying to "test settings" for Gemnasium service in a project named "api"
Not sure if this is really related to the fact that the project name is "api", but since we already had some issues in the past when using some reserved names, and other projects from the same namespaces are just working fine, this may be the cause.
Log:
Started GET "/my-namespace/api/services/gemnasium/test" for 111.111.11.11 at 2015-12-18 21:09:24 +0000
Processing by Projects::ServicesController#test as HTML
Parameters: {"namespace_id"=>"my-namespace", "project_id"=>"api", "id"=>"gemnasium"}
Completed 500 Internal Server Error in 1055ms (ActiveRecord: 5.3ms)
NameError (uninitialized constant Gemnasium::GitlabService::Error):
app/models/project_services/gemnasium_service.rb:53:in `execute'
app/models/service.rb:98:in `test'
app/controllers/projects/services_controller.rb:46:in `test'
Self-hosted version of GitLab CE 8.2.3, but I can reproduce the same error using GitLab.com.
Update: The issue isn't affecting my test repository on GitLab.com anymore, only the self-hosted.
Edited by 🤖 GitLab Bot 🤖