{"action":"created","issue":{"url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/9881","labels_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/9881/labels{/name}","comments_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/9881/comments","events_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/9881/events","html_url":"https://github.com/gitlabhq/gitlabhq/issues/9881","id":120326932,"number":9881,"title":"can not create a global milestone with a chinese title ","user":{"login":"LeoQuote","id":4143818,"avatar_url":"https://avatars.githubusercontent.com/u/4143818?v=3","gravatar_id":"","url":"https://api.github.com/users/LeoQuote","html_url":"https://github.com/LeoQuote","followers_url":"https://api.github.com/users/LeoQuote/followers","following_url":"https://api.github.com/users/LeoQuote/following{/other_user}","gists_url":"https://api.github.com/users/LeoQuote/gists{/gist_id}","starred_url":"https://api.github.com/users/LeoQuote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeoQuote/subscriptions","organizations_url":"https://api.github.com/users/LeoQuote/orgs","repos_url":"https://api.github.com/users/LeoQuote/repos","events_url":"https://api.github.com/users/LeoQuote/events{/privacy}","received_events_url":"https://api.github.com/users/LeoQuote/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-04T03:52:55Z","updated_at":"2015-12-04T05:44:46Z","closed_at":null,"body":"Version : 8.2.2 \r\nInstallation : rpm\r\n\r\nlog comes as follow:\r\n\r\n```\r\nStarted GET \"/groups/ops-dev/milestones\" for 127.0.0.1 at 2015-12-04 11:39:43 +0800\r\nProcessing by Groups::MilestonesController#index as HTML\r\n  Parameters: {\"group_id\"=>\"ops-dev\"}\r\nCompleted 500 Internal Server Error in 301ms (ActiveRecord: 10.0ms)\r\n\r\nActionView::Template::Error (No route matches {:action=>\"show\", :controller=>\"groups/milestones\", :group_id=>#<Group id: 48, name: \"ops-dev\", path: \"ops-dev\", owner_id: nil, created_at: \"2015-11-15 08:55:30\", updated_at: \"2015-12-02 06:23:26\", type: \"Group\", description: \"\", avatar: \"sha1.c71e73d51af1865c1bbbf6208e10044d46c9bb93.png\", public: false>, :id=>\"\", :title=>\"肯定不是中文的问题\"} missing required keys: [:id]):\r\n    2:   .row\r\n    3:     .col-sm-6\r\n    4:       %strong\r\n    5:         = link_to_gfm truncate(milestone.title, length: 100), group_milestone_path(@group, milestone.safe_title, title: milestone.title)\r\n    6:     .col-sm-6\r\n    7:       .pull-right.light #{milestone.percent_complete}% complete\r\n    8:   .row\r\n  app/views/groups/milestones/_milestone.html.haml:5:in `_app_views_groups_milestones__milestone_html_haml___1698692825769553139_84176360'\r\n  app/views/groups/milestones/index.html.haml:23:in `block in _app_views_groups_milestones_index_html_haml___3177571411688284649_85021260'\r\n  app/views/groups/milestones/index.html.haml:22:in `each'\r\n  app/views/groups/milestones/index.html.haml:22:in `_app_views_groups_milestones_index_html_haml___3177571411688284649_85021260'\r\n```\r\n\r\nI think it could be an error during searching process."},"comment":{"url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/comments/161882237","html_url":"https://github.com/gitlabhq/gitlabhq/issues/9881#issuecomment-161882237","issue_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/9881","id":161882237,"user":{"login":"stanhu","id":963826,"avatar_url":"https://avatars.githubusercontent.com/u/963826?v=3","gravatar_id":"","url":"https://api.github.com/users/stanhu","html_url":"https://github.com/stanhu","followers_url":"https://api.github.com/users/stanhu/followers","following_url":"https://api.github.com/users/stanhu/following{/other_user}","gists_url":"https://api.github.com/users/stanhu/gists{/gist_id}","starred_url":"https://api.github.com/users/stanhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stanhu/subscriptions","organizations_url":"https://api.github.com/users/stanhu/orgs","repos_url":"https://api.github.com/users/stanhu/repos","events_url":"https://api.github.com/users/stanhu/events{/privacy}","received_events_url":"https://api.github.com/users/stanhu/received_events","type":"User","site_admin":false},"created_at":"2015-12-04T05:44:46Z","updated_at":"2015-12-04T05:44:46Z","body":"Actually, I think you found a bug in the routing config. Milestones can have any character; it's just that group milestones have the wrong constraint. I think I have a fix."}}