{"action":"created","issue":{"url":"https://api.github.com/repos/modxcms/revolution/issues/13136","repository_url":"https://api.github.com/repos/modxcms/revolution","labels_url":"https://api.github.com/repos/modxcms/revolution/issues/13136/labels{/name}","comments_url":"https://api.github.com/repos/modxcms/revolution/issues/13136/comments","events_url":"https://api.github.com/repos/modxcms/revolution/issues/13136/events","html_url":"https://github.com/modxcms/revolution/issues/13136","id":179706671,"number":13136,"title":"New Category option duplicating view of elements","user":{"login":"digitalpenguin","id":5160368,"avatar_url":"https://avatars.githubusercontent.com/u/5160368?v=3","gravatar_id":"","url":"https://api.github.com/users/digitalpenguin","html_url":"https://github.com/digitalpenguin","followers_url":"https://api.github.com/users/digitalpenguin/followers","following_url":"https://api.github.com/users/digitalpenguin/following{/other_user}","gists_url":"https://api.github.com/users/digitalpenguin/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalpenguin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalpenguin/subscriptions","organizations_url":"https://api.github.com/users/digitalpenguin/orgs","repos_url":"https://api.github.com/users/digitalpenguin/repos","events_url":"https://api.github.com/users/digitalpenguin/events{/privacy}","received_events_url":"https://api.github.com/users/digitalpenguin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/modxcms/revolution/labels/area-ux/ui","name":"area-ux/ui","color":"ededed"},{"url":"https://api.github.com/repos/modxcms/revolution/labels/bug","name":"bug","color":"fbca04"},{"url":"https://api.github.com/repos/modxcms/revolution/labels/priority-2-high","name":"priority-2-high","color":"ec8285"},{"url":"https://api.github.com/repos/modxcms/revolution/labels/state/confirmed","name":"state/confirmed","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"rtripault","id":300920,"avatar_url":"https://avatars.githubusercontent.com/u/300920?v=3","gravatar_id":"","url":"https://api.github.com/users/rtripault","html_url":"https://github.com/rtripault","followers_url":"https://api.github.com/users/rtripault/followers","following_url":"https://api.github.com/users/rtripault/following{/other_user}","gists_url":"https://api.github.com/users/rtripault/gists{/gist_id}","starred_url":"https://api.github.com/users/rtripault/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtripault/subscriptions","organizations_url":"https://api.github.com/users/rtripault/orgs","repos_url":"https://api.github.com/users/rtripault/repos","events_url":"https://api.github.com/users/rtripault/events{/privacy}","received_events_url":"https://api.github.com/users/rtripault/received_events","type":"User","site_admin":false},"assignees":[{"login":"rtripault","id":300920,"avatar_url":"https://avatars.githubusercontent.com/u/300920?v=3","gravatar_id":"","url":"https://api.github.com/users/rtripault","html_url":"https://github.com/rtripault","followers_url":"https://api.github.com/users/rtripault/followers","following_url":"https://api.github.com/users/rtripault/following{/other_user}","gists_url":"https://api.github.com/users/rtripault/gists{/gist_id}","starred_url":"https://api.github.com/users/rtripault/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtripault/subscriptions","organizations_url":"https://api.github.com/users/rtripault/orgs","repos_url":"https://api.github.com/users/rtripault/repos","events_url":"https://api.github.com/users/rtripault/events{/privacy}","received_events_url":"https://api.github.com/users/rtripault/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/modxcms/revolution/milestones/71","html_url":"https://github.com/modxcms/revolution/milestones/v2.5.2","labels_url":"https://api.github.com/repos/modxcms/revolution/milestones/71/labels","id":1956534,"number":71,"title":"v2.5.2","description":null,"creator":{"login":"Jako","id":148371,"avatar_url":"https://avatars.githubusercontent.com/u/148371?v=3","gravatar_id":"","url":"https://api.github.com/users/Jako","html_url":"https://github.com/Jako","followers_url":"https://api.github.com/users/Jako/followers","following_url":"https://api.github.com/users/Jako/following{/other_user}","gists_url":"https://api.github.com/users/Jako/gists{/gist_id}","starred_url":"https://api.github.com/users/Jako/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jako/subscriptions","organizations_url":"https://api.github.com/users/Jako/orgs","repos_url":"https://api.github.com/users/Jako/repos","events_url":"https://api.github.com/users/Jako/events{/privacy}","received_events_url":"https://api.github.com/users/Jako/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":13,"state":"open","created_at":"2016-08-22T22:17:52Z","updated_at":"2016-09-29T06:00:29Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2016-09-28T08:10:04Z","updated_at":"2016-09-29T08:39:52Z","closed_at":null,"body":"### Summary\r\nElements are duplicated in the tree view when creating a new category via context menu.\r\n\r\n### Step to reproduce\r\nRight-click on a template in the tree. Select 'New Category' and type in the category name. When you click save you will see the categories in the tree are duplicated below the template you opened the context menu on. The duplicated elements are effectively treating the selected element as the top of the hierarchy.\r\n\r\n### Observed behavior\r\nAs you can see in the screenshot, the templates are duplicated. The template I right-clicked on in the picture is \"VideosDetailTemplate\". Thankfully, the duplicated elements are not saved, they disappear after refreshing. \r\n![screenshot from 2016-09-28 15-56-43](https://cloud.githubusercontent.com/assets/5160368/18905370/62fbd8e8-8595-11e6-8b36-72eea5333f43.png)\r\n\r\n\r\n### Expected behavior\r\nThe elements shouldn't be duplicated in the tree view.\r\n### Environment\r\nMODX 2.5.1"},"comment":{"url":"https://api.github.com/repos/modxcms/revolution/issues/comments/250405747","html_url":"https://github.com/modxcms/revolution/issues/13136#issuecomment-250405747","issue_url":"https://api.github.com/repos/modxcms/revolution/issues/13136","id":250405747,"user":{"login":"digitalpenguin","id":5160368,"avatar_url":"https://avatars.githubusercontent.com/u/5160368?v=3","gravatar_id":"","url":"https://api.github.com/users/digitalpenguin","html_url":"https://github.com/digitalpenguin","followers_url":"https://api.github.com/users/digitalpenguin/followers","following_url":"https://api.github.com/users/digitalpenguin/following{/other_user}","gists_url":"https://api.github.com/users/digitalpenguin/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalpenguin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalpenguin/subscriptions","organizations_url":"https://api.github.com/users/digitalpenguin/orgs","repos_url":"https://api.github.com/users/digitalpenguin/repos","events_url":"https://api.github.com/users/digitalpenguin/events{/privacy}","received_events_url":"https://api.github.com/users/digitalpenguin/received_events","type":"User","site_admin":false},"created_at":"2016-09-29T08:39:52Z","updated_at":"2016-09-29T08:39:52Z","body":"It was the browser cache. Sorry! :P \r\nYes I can confirm it's now fixed!"}}
{"actor":{"display_login":"digitalpenguin"}}