{"action":"created","issue":{"url":"https://api.github.com/repos/silverstripe/silverstripe-cms/issues/1701","repository_url":"https://api.github.com/repos/silverstripe/silverstripe-cms","labels_url":"https://api.github.com/repos/silverstripe/silverstripe-cms/issues/1701/labels{/name}","comments_url":"https://api.github.com/repos/silverstripe/silverstripe-cms/issues/1701/comments","events_url":"https://api.github.com/repos/silverstripe/silverstripe-cms/issues/1701/events","html_url":"https://github.com/silverstripe/silverstripe-cms/issues/1701","id":197340295,"number":1701,"title":"LinkTracking / dependent pages updated on publishing ","user":{"login":"giovdk21","id":511350,"avatar_url":"https://avatars.githubusercontent.com/u/511350?v=3","gravatar_id":"","url":"https://api.github.com/users/giovdk21","html_url":"https://github.com/giovdk21","followers_url":"https://api.github.com/users/giovdk21/followers","following_url":"https://api.github.com/users/giovdk21/following{/other_user}","gists_url":"https://api.github.com/users/giovdk21/gists{/gist_id}","starred_url":"https://api.github.com/users/giovdk21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giovdk21/subscriptions","organizations_url":"https://api.github.com/users/giovdk21/orgs","repos_url":"https://api.github.com/users/giovdk21/repos","events_url":"https://api.github.com/users/giovdk21/events{/privacy}","received_events_url":"https://api.github.com/users/giovdk21/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-23T09:50:13Z","updated_at":"2016-12-28T11:43:45Z","closed_at":null,"body":"Hello,\r\nI'm using Silverstripe 3.4.1 and I noticed that when saving a page that has some dependent pages, the published version (SiteTree_Live) of those pages are updated too (but not the \"draft\" - SiteTree)\r\n\r\nYou can see this by looking at the LastEdited date.\r\n\r\nI think it's doing it at https://github.com/silverstripe/silverstripe-cms/blob/3.4/code/model/SiteTree.php#L2405\r\n\r\nBut it would be great if it could do that only when needed.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/silverstripe/silverstripe-cms/issues/comments/269466252","html_url":"https://github.com/silverstripe/silverstripe-cms/issues/1701#issuecomment-269466252","issue_url":"https://api.github.com/repos/silverstripe/silverstripe-cms/issues/1701","id":269466252,"user":{"login":"giovdk21","id":511350,"avatar_url":"https://avatars.githubusercontent.com/u/511350?v=3","gravatar_id":"","url":"https://api.github.com/users/giovdk21","html_url":"https://github.com/giovdk21","followers_url":"https://api.github.com/users/giovdk21/followers","following_url":"https://api.github.com/users/giovdk21/following{/other_user}","gists_url":"https://api.github.com/users/giovdk21/gists{/gist_id}","starred_url":"https://api.github.com/users/giovdk21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giovdk21/subscriptions","organizations_url":"https://api.github.com/users/giovdk21/orgs","repos_url":"https://api.github.com/users/giovdk21/repos","events_url":"https://api.github.com/users/giovdk21/events{/privacy}","received_events_url":"https://api.github.com/users/giovdk21/received_events","type":"User","site_admin":false},"created_at":"2016-12-28T11:43:45Z","updated_at":"2016-12-28T11:43:45Z","body":"Hi,\r\nI'm not sure because if now LastEdited is updated every time the page is written then changing this behaviour could be misleading.\r\n\r\nBut at the same time when publishing a page it would be ideal to call the write method only if needed (now every dependent page is updated regardless every time you publish the page)\r\n\r\nCouldn't you assume that if the current page was already published before, then you don't need to update the dependent ones?\r\n\r\nThanks"}}
{"actor":{"display_login":"giovdk21"}}