{"action":"created","issue":{"url":"https://api.github.com/repos/kataras/iris/issues/351","repository_url":"https://api.github.com/repos/kataras/iris","labels_url":"https://api.github.com/repos/kataras/iris/issues/351/labels{/name}","comments_url":"https://api.github.com/repos/kataras/iris/issues/351/comments","events_url":"https://api.github.com/repos/kataras/iris/issues/351/events","html_url":"https://github.com/kataras/iris/issues/351","id":170171300,"number":351,"title":"context.Param(...) on routes without named params","user":{"login":"pbberlin","id":4922935,"avatar_url":"https://avatars.githubusercontent.com/u/4922935?v=3","gravatar_id":"","url":"https://api.github.com/users/pbberlin","html_url":"https://github.com/pbberlin","followers_url":"https://api.github.com/users/pbberlin/followers","following_url":"https://api.github.com/users/pbberlin/following{/other_user}","gists_url":"https://api.github.com/users/pbberlin/gists{/gist_id}","starred_url":"https://api.github.com/users/pbberlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbberlin/subscriptions","organizations_url":"https://api.github.com/users/pbberlin/orgs","repos_url":"https://api.github.com/users/pbberlin/repos","events_url":"https://api.github.com/users/pbberlin/events{/privacy}","received_events_url":"https://api.github.com/users/pbberlin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-08-09T13:50:56Z","updated_at":"2016-08-16T12:07:59Z","closed_at":"2016-08-09T17:51:31Z","body":"context.Param works fine,\r\nunless it is called for a context without a named param.\r\n\r\n\r\niris.Get(\"/paramgroup/:paramgroup_name\",handler01)\r\niris.Get(\"/another-route\",handler02)\r\n\r\nhandler01(c){\r\n    p := c.Param(\"paramgroup_name\")   // works wonderfully\r\n}\r\n\r\nhandler02(c){\r\n    p := c.Param(\"paramgroup_name\")   // yields irritating results\r\n}\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/kataras/iris/issues/comments/240082976","html_url":"https://github.com/kataras/iris/issues/351#issuecomment-240082976","issue_url":"https://api.github.com/repos/kataras/iris/issues/351","id":240082976,"user":{"login":"pbberlin","id":4922935,"avatar_url":"https://avatars.githubusercontent.com/u/4922935?v=3","gravatar_id":"","url":"https://api.github.com/users/pbberlin","html_url":"https://github.com/pbberlin","followers_url":"https://api.github.com/users/pbberlin/followers","following_url":"https://api.github.com/users/pbberlin/following{/other_user}","gists_url":"https://api.github.com/users/pbberlin/gists{/gist_id}","starred_url":"https://api.github.com/users/pbberlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbberlin/subscriptions","organizations_url":"https://api.github.com/users/pbberlin/orgs","repos_url":"https://api.github.com/users/pbberlin/repos","events_url":"https://api.github.com/users/pbberlin/events{/privacy}","received_events_url":"https://api.github.com/users/pbberlin/received_events","type":"User","site_admin":false},"created_at":"2016-08-16T12:07:59Z","updated_at":"2016-08-16T12:07:59Z","body":"Dear Kataras,\r\n\r\nAs first thing: Sorry for \"cit\".\r\nThis was of course an artefact from the orginal code.\r\nThe value should have been initialized with \"group1\".\r\n\r\nSecond:\r\nI integrated your init suggestion: \r\nSession init is only done **once**, via once.\r\n\r\nThird:\r\nYou have a point to object to \"update session with session\".\r\nThere was a redundant session.Set... in the design.\r\nI fixed this, by separating Effective**Request**Param from\r\nEffective**(Overall)**Param.\r\n\r\nSession should only be updated when there is a new **request** param.\r\n\r\nI pushed all your changes - and mine into the repo.\r\n\r\n`git pull`\r\n`go run main.go`\r\n\r\nNow and with go 1.7 - \"group1\" is still changing to \"eeoup1\".\r\n\r\nCan you point me to the reason again?\r\n\r\nKind regards\r\n  Peter\r\n\r\n"}}
{"actor":{"display_login":"pbberlin"}}