{"action":"created","issue":{"url":"https://api.github.com/repos/modxcms/revolution/issues/7275","repository_url":"https://api.github.com/repos/modxcms/revolution","labels_url":"https://api.github.com/repos/modxcms/revolution/issues/7275/labels{/name}","comments_url":"https://api.github.com/repos/modxcms/revolution/issues/7275/comments","events_url":"https://api.github.com/repos/modxcms/revolution/issues/7275/events","html_url":"https://github.com/modxcms/revolution/issues/7275","id":26696176,"node_id":"MDU6SXNzdWUyNjY5NjE3Ng==","number":7275,"title":"Duplicating static element doesn't duplicate file","user":{"login":"WiegerS","id":5251143,"node_id":"MDQ6VXNlcjUyNTExNDM=","avatar_url":"https://avatars3.githubusercontent.com/u/5251143?v=4","gravatar_id":"","url":"https://api.github.com/users/WiegerS","html_url":"https://github.com/WiegerS","followers_url":"https://api.github.com/users/WiegerS/followers","following_url":"https://api.github.com/users/WiegerS/following{/other_user}","gists_url":"https://api.github.com/users/WiegerS/gists{/gist_id}","starred_url":"https://api.github.com/users/WiegerS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WiegerS/subscriptions","organizations_url":"https://api.github.com/users/WiegerS/orgs","repos_url":"https://api.github.com/users/WiegerS/repos","events_url":"https://api.github.com/users/WiegerS/events{/privacy}","received_events_url":"https://api.github.com/users/WiegerS/received_events","type":"User","site_admin":false},"labels":[{"id":78025097,"node_id":"MDU6TGFiZWw3ODAyNTA5Nw==","url":"https://api.github.com/repos/modxcms/revolution/labels/bug","name":"bug","color":"fbca04","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2012-03-01T19:01:36Z","updated_at":"2018-11-21T13:33:32Z","closed_at":null,"author_association":"NONE","body":"wiegers created Redmine issue ID 7275\n\nWhen duplicating a static element (eg. a snippet 'test' saved as static file 'test.php') the file isn't duplicated. \nIn the duplicated snippet ('Test copy') the static file points to 'test.php', so any changes made to this new snippet are saved in the original snippet 'test.php'.\n"},"comment":{"url":"https://api.github.com/repos/modxcms/revolution/issues/comments/440663316","html_url":"https://github.com/modxcms/revolution/issues/7275#issuecomment-440663316","issue_url":"https://api.github.com/repos/modxcms/revolution/issues/7275","id":440663316,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDY2MzMxNg==","user":{"login":"JoshuaLuckers","id":1268085,"node_id":"MDQ6VXNlcjEyNjgwODU=","avatar_url":"https://avatars0.githubusercontent.com/u/1268085?v=4","gravatar_id":"","url":"https://api.github.com/users/JoshuaLuckers","html_url":"https://github.com/JoshuaLuckers","followers_url":"https://api.github.com/users/JoshuaLuckers/followers","following_url":"https://api.github.com/users/JoshuaLuckers/following{/other_user}","gists_url":"https://api.github.com/users/JoshuaLuckers/gists{/gist_id}","starred_url":"https://api.github.com/users/JoshuaLuckers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoshuaLuckers/subscriptions","organizations_url":"https://api.github.com/users/JoshuaLuckers/orgs","repos_url":"https://api.github.com/users/JoshuaLuckers/repos","events_url":"https://api.github.com/users/JoshuaLuckers/events{/privacy}","received_events_url":"https://api.github.com/users/JoshuaLuckers/received_events","type":"User","site_admin":false},"created_at":"2018-11-21T13:33:32Z","updated_at":"2018-11-21T13:33:32Z","author_association":"CONTRIBUTOR","body":"A static element is basically a soft link (Unix) / file shortcut (Windows) to a file. Duplicating a soft link/file shortcut does not duplicate the original file either.\r\n\r\nWhen editing a static element the user should be informed that it also applies to other static elements pointing to the same file. \r\n\r\nWhen duplicating a static element it would be nice to have an option that makes it possible to duplicate the actual file it's pointing to. "}}
{"actor":{"display_login":"JoshuaLuckers"}}