Redirect loop after testing service settings
Closed
Redirect loop after testing service settings
Created by: heikobornholdt
When I open the edit page for GitLab CI-Service of a GitLab Project (http://example.com/foo/bar/services/gitlab_ci/edit), click to "Test settings", wait for page to refresh and click "Test settings" again, it will result in a "redirect loop".
I believe, the redirect_to :back
instruction (https://github.com/gitlabhq/gitlabhq/blob/2ed7cbfba4ff3c6a4cf3e72515a0375544998de0/app/controllers/projects/services_controller.rb#L31) causes this problem.
Now I have dozens of pending builds on my GitLab CI 😆
Created by: IgnoredAmbience
Initially browse to /edit, after the first click we navigate to /test, which is 302 redirected to /edit. This does not update the browser's address bar, so the next click on the button originates from /test, to which we're 302 redirected.
By Administrator on 2014-11-11T18:56:24 (imported from GitLab project)
Created by: IgnoredAmbience
This bug doesn't seem to be quite as simple as it first seems. In Firefox 32.0.3 I've reloaded the page and it is now working as expected (was failing earlier). However in Chromium 37.0.2062.120 I'm still seeing the failure.
By Administrator on 2014-11-11T21:38:41 (imported from GitLab project)