{"action":"opened","issue":{"url":"https://api.github.com/repos/aelvan/Preparse-Field-Craft/issues/18","repository_url":"https://api.github.com/repos/aelvan/Preparse-Field-Craft","labels_url":"https://api.github.com/repos/aelvan/Preparse-Field-Craft/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/aelvan/Preparse-Field-Craft/issues/18/comments","events_url":"https://api.github.com/repos/aelvan/Preparse-Field-Craft/issues/18/events","html_url":"https://github.com/aelvan/Preparse-Field-Craft/issues/18","id":173754194,"number":18,"title":"Entry reorder won't update field in structure section","user":{"login":"pauliusef","id":5462512,"avatar_url":"https://avatars.githubusercontent.com/u/5462512?v=3","gravatar_id":"","url":"https://api.github.com/users/pauliusef","html_url":"https://github.com/pauliusef","followers_url":"https://api.github.com/users/pauliusef/followers","following_url":"https://api.github.com/users/pauliusef/following{/other_user}","gists_url":"https://api.github.com/users/pauliusef/gists{/gist_id}","starred_url":"https://api.github.com/users/pauliusef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pauliusef/subscriptions","organizations_url":"https://api.github.com/users/pauliusef/orgs","repos_url":"https://api.github.com/users/pauliusef/repos","events_url":"https://api.github.com/users/pauliusef/events{/privacy}","received_events_url":"https://api.github.com/users/pauliusef/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-29T11:33:46Z","updated_at":"2016-08-29T11:33:46Z","closed_at":null,"body":"Hi Andre,\r\n\r\nIn my preparse field I have a setup that uses information from the parent entry. However, when I change the place of the entry in the structure by drag&drop, the preparse field value doesn't get updated.\r\n\r\nAfter some digging in Craft code I found out that it doesn't save the entry when I move the entry in the hierarchy. Only a couple of related fields are changed and saved. First the `StructuresController.actionMoveElement` is fired, which in turn calls various methods in the `StructuresService`. It then does the updating and fires a `onMoveElement` event after everything is finished. \r\n\r\nMaybe it is wise to attach plugin functionality to this event so that fields, which depend on parent field values, would be updated?"}}
{"actor":{"display_login":"pauliusef"}}