{"action":"created","issue":{"url":"https://api.github.com/repos/akeneo/pim-community-dev/issues/4620","repository_url":"https://api.github.com/repos/akeneo/pim-community-dev","labels_url":"https://api.github.com/repos/akeneo/pim-community-dev/issues/4620/labels{/name}","comments_url":"https://api.github.com/repos/akeneo/pim-community-dev/issues/4620/comments","events_url":"https://api.github.com/repos/akeneo/pim-community-dev/issues/4620/events","html_url":"https://github.com/akeneo/pim-community-dev/issues/4620","id":160643279,"number":4620,"title":"Mass edit - Updated At","user":{"login":"mathewrapid","id":1784672,"avatar_url":"https://avatars.githubusercontent.com/u/1784672?v=3","gravatar_id":"","url":"https://api.github.com/users/mathewrapid","html_url":"https://github.com/mathewrapid","followers_url":"https://api.github.com/users/mathewrapid/followers","following_url":"https://api.github.com/users/mathewrapid/following{/other_user}","gists_url":"https://api.github.com/users/mathewrapid/gists{/gist_id}","starred_url":"https://api.github.com/users/mathewrapid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathewrapid/subscriptions","organizations_url":"https://api.github.com/users/mathewrapid/orgs","repos_url":"https://api.github.com/users/mathewrapid/repos","events_url":"https://api.github.com/users/mathewrapid/events{/privacy}","received_events_url":"https://api.github.com/users/mathewrapid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-16T11:53:04Z","updated_at":"2016-06-16T12:06:44Z","closed_at":null,"body":"[akeneo-pim-system-info_2016-06-16_14-41.txt](https://github.com/akeneo/pim-community-dev/files/318279/akeneo-pim-system-info_2016-06-16_14-41.txt)\r\n\r\nProbably the same as in https://github.com/akeneo/pim-community-dev/issues/2644 (which is closed without an explanation)\r\n\r\nWhen adding values to product attrbiutes via the mass-edit the versioning gets updated with the correct timestamp, but the products updated timestamp is not.\r\n\r\nThis can be verified by mass editing one product and running the `php app/console --env=prod pim:product:query '[{\"field\":\"updated\",\"operator\":\">= WITH TIME\",\"value\":\"YYYY-MM-DD HH:mm:ss\"}]'`\r\n\r\nThis has a major impact to some export profiles that uses the EnhancedConnectors `fromLastExecution` option.\r\n\r\nNote. MongoDB is in use -> Mass edit will use `\\Pim\\Bundle\\CatalogBundle\\Doctrine\\MongoDBODM\\Saver\\ProductSaver::saveAll`"},"comment":{"url":"https://api.github.com/repos/akeneo/pim-community-dev/issues/comments/226466211","html_url":"https://github.com/akeneo/pim-community-dev/issues/4620#issuecomment-226466211","issue_url":"https://api.github.com/repos/akeneo/pim-community-dev/issues/4620","id":226466211,"user":{"login":"mathewrapid","id":1784672,"avatar_url":"https://avatars.githubusercontent.com/u/1784672?v=3","gravatar_id":"","url":"https://api.github.com/users/mathewrapid","html_url":"https://github.com/mathewrapid","followers_url":"https://api.github.com/users/mathewrapid/followers","following_url":"https://api.github.com/users/mathewrapid/following{/other_user}","gists_url":"https://api.github.com/users/mathewrapid/gists{/gist_id}","starred_url":"https://api.github.com/users/mathewrapid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathewrapid/subscriptions","organizations_url":"https://api.github.com/users/mathewrapid/orgs","repos_url":"https://api.github.com/users/mathewrapid/repos","events_url":"https://api.github.com/users/mathewrapid/events{/privacy}","received_events_url":"https://api.github.com/users/mathewrapid/received_events","type":"User","site_admin":false},"created_at":"2016-06-16T12:06:44Z","updated_at":"2016-06-16T12:06:44Z","body":"So, this might have to do with the fact that the `\\Pim\\Bundle\\CatalogBundle\\EventSubscriber\\TimestampableSubscriber` is only listening to Doctrines `prePersist` and `preUpdate` events. The `\\Pim\\Bundle\\CatalogBundle\\Doctrine\\MongoDBODM\\Saver\\ProductSaver::saveAll` does not emmit those events at all.\r\n"}}
{"actor":{"display_login":"mathewrapid"}}