Skip to content
Snippets Groups Projects
Commit 95ddedca authored by Phil Hughes's avatar Phil Hughes
Browse files

Fixed create label form not working on issue boards in a sub-group project

Closes #31862
parent 59c9ec5c
No related branches found
No related tags found
2 merge requests!12073Add RC2 changes to 9-3-stable,!11182Fixed create label form not working on issue boards in a sub-group project
Pipeline #
Loading
  • username-removed-419655 :house_with_garden: @markglenfletcher1

    mentioned in issue #31862 (closed)

    ·

    mentioned in issue #31862 (closed)

    Toggle commit list
  • Developer

    @iamphill customer is still getting this issue. Please check the logs below.

    ==> /var/log/gitlab/gitlab-rails/production.log <== 
    Started POST "/project_path/labels" for 90.109.131.233 at 2017-05-22 19:57:27 +0000
    
    ActionController::RoutingError (No route matches [POST] "project_path"): 
      lib/gitlab/request_context.rb:18:in `call'
    
    ==> /var/log/gitlab/gitlab-workhorse/current <== 
    2017-05-22_19:57:27.83743 2017/05/22 19:57:27 ErrorPage: serving predefined error page: 404 
    2017-05-22_19:57:27.83787 project_domain @ - - [2017-05-22 19:57:27.799292199 +0000 UTC] "POST project_path/labels HTTP/1.1" 404 0 "http://project_url/issues/2/edit" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/603.2.4 (KHTML, like Gecko) Version/10.1.1 Safari/603.2.4" 0.038385
    
    ==> /var/log/gitlab/nginx/gitlab_error.log <== 
    2017/05/22 19:57:27 [error] 6784#0: *1 upstream prematurely closed connection while reading upstream, client: 90.109.131.233, server: gitlab-domain, request: "POST /project_path/labels HTTP/1.1", upstream: "http://unix:/var/opt/gitlab/gitlab-workhorse/socket:/project_path/labels", host: "gitlab-domain", referrer: "project-url/edit"
    
    ==> /var/log/gitlab/nginx/gitlab_access.log <== 
    90.109.131.233 - - [22/May/2017:19:57:27 +0000] "POST /project_path/labels HTTP/1.1" 404 20 "project_path/issues/2/edit" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/603.2.4 (KHTML, like Gecko) Version/10.1.1 Safari/603.2.4"
    

    Things tried:

    • change the browser from safari to chrome: same result (failed to create a label)
    • create a brand new project in a subgroup and create a label from an issue: same result (failed to create a label)
    • create a project on root (no subgroup) and create a label from an issue: worked

    So at this point, I think the issue comes from using the subgroups. Let me know if you know about a temporary fix.

    ZD: https://gitlab.zendesk.com/agent/tickets/76963

    Edited by username-removed-581582
  • Maintainer

    @arihantar Just tried this on GitLab.com & it seems to work fine :confused:

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment