{"action":"created","issue":{"url":"https://api.github.com/repos/ckan/ckan/issues/2240","labels_url":"https://api.github.com/repos/ckan/ckan/issues/2240/labels{/name}","comments_url":"https://api.github.com/repos/ckan/ckan/issues/2240/comments","events_url":"https://api.github.com/repos/ckan/ckan/issues/2240/events","html_url":"https://github.com/ckan/ckan/issues/2240","id":55344008,"number":2240,"title":"Package_update does not change the revision_id when editing a custom field of a dataset","user":{"login":"benjaminlaot","id":9968236,"avatar_url":"https://avatars.githubusercontent.com/u/9968236?v=3","gravatar_id":"","url":"https://api.github.com/users/benjaminlaot","html_url":"https://github.com/benjaminlaot","followers_url":"https://api.github.com/users/benjaminlaot/followers","following_url":"https://api.github.com/users/benjaminlaot/following{/other_user}","gists_url":"https://api.github.com/users/benjaminlaot/gists{/gist_id}","starred_url":"https://api.github.com/users/benjaminlaot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjaminlaot/subscriptions","organizations_url":"https://api.github.com/users/benjaminlaot/orgs","repos_url":"https://api.github.com/users/benjaminlaot/repos","events_url":"https://api.github.com/users/benjaminlaot/events{/privacy}","received_events_url":"https://api.github.com/users/benjaminlaot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"wardi","id":153258,"avatar_url":"https://avatars.githubusercontent.com/u/153258?v=3","gravatar_id":"","url":"https://api.github.com/users/wardi","html_url":"https://github.com/wardi","followers_url":"https://api.github.com/users/wardi/followers","following_url":"https://api.github.com/users/wardi/following{/other_user}","gists_url":"https://api.github.com/users/wardi/gists{/gist_id}","starred_url":"https://api.github.com/users/wardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wardi/subscriptions","organizations_url":"https://api.github.com/users/wardi/orgs","repos_url":"https://api.github.com/users/wardi/repos","events_url":"https://api.github.com/users/wardi/events{/privacy}","received_events_url":"https://api.github.com/users/wardi/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-01-23T22:57:54Z","updated_at":"2015-01-28T00:35:45Z","closed_at":null,"body":"During the edition of a dataset, if I modify the description or the title for instance, the revision_id will change and the dataset will be updated correctly, whereas when I modify a custom field (I am using ckanext-scheming) or the tag field, the dataset is updated but the revision_id doesn't change. \r\nIt can be a problem if we want to compare old_revision_id and New_revision_id for example. "},"comment":{"url":"https://api.github.com/repos/ckan/ckan/issues/comments/71759362","html_url":"https://github.com/ckan/ckan/issues/2240#issuecomment-71759362","issue_url":"https://api.github.com/repos/ckan/ckan/issues/2240","id":71759362,"user":{"login":"benjaminlaot","id":9968236,"avatar_url":"https://avatars.githubusercontent.com/u/9968236?v=3","gravatar_id":"","url":"https://api.github.com/users/benjaminlaot","html_url":"https://github.com/benjaminlaot","followers_url":"https://api.github.com/users/benjaminlaot/followers","following_url":"https://api.github.com/users/benjaminlaot/following{/other_user}","gists_url":"https://api.github.com/users/benjaminlaot/gists{/gist_id}","starred_url":"https://api.github.com/users/benjaminlaot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjaminlaot/subscriptions","organizations_url":"https://api.github.com/users/benjaminlaot/orgs","repos_url":"https://api.github.com/users/benjaminlaot/repos","events_url":"https://api.github.com/users/benjaminlaot/events{/privacy}","received_events_url":"https://api.github.com/users/benjaminlaot/received_events","type":"User","site_admin":false},"created_at":"2015-01-28T00:35:45Z","updated_at":"2015-01-28T00:35:45Z","body":"I used the metadata_modified field. It partially worked for me because I need to differentiate two behaviours.\r\nSo I wondered if there was a way to differentiate those two : \r\n\r\n1) the user update the dataset whithout even modify a metadata\r\n\r\n2) the user update the dataset modifying at least one metadata\r\n\r\nmetadata_modified field is changing no matter what. That's why I asked for the revision_id. In this case it would have helped me to make the difference between behaviour 1) and 2) ."}}