{"action":"created","issue":{"url":"https://api.github.com/repos/cakephp/cakephp/issues/7259","labels_url":"https://api.github.com/repos/cakephp/cakephp/issues/7259/labels{/name}","comments_url":"https://api.github.com/repos/cakephp/cakephp/issues/7259/comments","events_url":"https://api.github.com/repos/cakephp/cakephp/issues/7259/events","html_url":"https://github.com/cakephp/cakephp/issues/7259","id":101900578,"number":7259,"title":"3.x ORM modifier() does not work as expected","user":{"login":"ionas","id":106845,"avatar_url":"https://avatars.githubusercontent.com/u/106845?v=3","gravatar_id":"","url":"https://api.github.com/users/ionas","html_url":"https://github.com/ionas","followers_url":"https://api.github.com/users/ionas/followers","following_url":"https://api.github.com/users/ionas/following{/other_user}","gists_url":"https://api.github.com/users/ionas/gists{/gist_id}","starred_url":"https://api.github.com/users/ionas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ionas/subscriptions","organizations_url":"https://api.github.com/users/ionas/orgs","repos_url":"https://api.github.com/users/ionas/repos","events_url":"https://api.github.com/users/ionas/events{/privacy}","received_events_url":"https://api.github.com/users/ionas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cakephp/cakephp/labels/Enhancement","name":"Enhancement","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/cakephp/cakephp/milestones/31","html_url":"https://github.com/cakephp/cakephp/milestones/3.1.0","labels_url":"https://api.github.com/repos/cakephp/cakephp/milestones/31/labels","id":919718,"number":31,"title":"3.1.0","description":"Backwards compatible with 3.0.x.\r\n\r\nSee the [Roadmap](https://github.com/cakephp/cakephp/wiki/3.1-Roadmap) for more information.","creator":{"login":"lorenzo","id":37621,"avatar_url":"https://avatars.githubusercontent.com/u/37621?v=3","gravatar_id":"","url":"https://api.github.com/users/lorenzo","html_url":"https://github.com/lorenzo","followers_url":"https://api.github.com/users/lorenzo/followers","following_url":"https://api.github.com/users/lorenzo/following{/other_user}","gists_url":"https://api.github.com/users/lorenzo/gists{/gist_id}","starred_url":"https://api.github.com/users/lorenzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lorenzo/subscriptions","organizations_url":"https://api.github.com/users/lorenzo/orgs","repos_url":"https://api.github.com/users/lorenzo/repos","events_url":"https://api.github.com/users/lorenzo/events{/privacy}","received_events_url":"https://api.github.com/users/lorenzo/received_events","type":"User","site_admin":false},"open_issues":55,"closed_issues":133,"state":"open","created_at":"2015-01-02T15:38:07Z","updated_at":"2015-08-19T14:00:39Z","due_on":"2015-08-23T04:00:00Z","closed_at":null},"comments":3,"created_at":"2015-08-19T14:00:20Z","updated_at":"2015-08-19T14:40:59Z","closed_at":null,"body":"```modifier()``` is being ignored on these two calls:\r\n\r\n```php\r\n$this->query()\r\n    ->delete()\r\n    ->modifier('LOW_PRIORITY')\r\n    ->where(['valid_thru <' => new Time()])\r\n    // ->sql(): 'DELETE FROM tokens WHERE valid_thru < :c0'\r\n    ->execute();\r\n```\r\n```php\r\n$this->query()\r\n    ->update()\r\n    ->modifier('DELAYED')\r\n    ->set(['valid_thru' => $validThru])\r\n    ->where(['identifier' => $identifier])\r\n// ->sql(): 'UPDATE tokens SET valid_thru = :c0 WHERE identifier = :c1'\r\n    ->execute();\r\n```\r\nBy ignored I mean... it does not trigger any error but does neither appear in the SQL statement, but should."},"comment":{"url":"https://api.github.com/repos/cakephp/cakephp/issues/comments/132623134","html_url":"https://github.com/cakephp/cakephp/issues/7259#issuecomment-132623134","issue_url":"https://api.github.com/repos/cakephp/cakephp/issues/7259","id":132623134,"user":{"login":"dereuromark","id":39854,"avatar_url":"https://avatars.githubusercontent.com/u/39854?v=3","gravatar_id":"","url":"https://api.github.com/users/dereuromark","html_url":"https://github.com/dereuromark","followers_url":"https://api.github.com/users/dereuromark/followers","following_url":"https://api.github.com/users/dereuromark/following{/other_user}","gists_url":"https://api.github.com/users/dereuromark/gists{/gist_id}","starred_url":"https://api.github.com/users/dereuromark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dereuromark/subscriptions","organizations_url":"https://api.github.com/users/dereuromark/orgs","repos_url":"https://api.github.com/users/dereuromark/repos","events_url":"https://api.github.com/users/dereuromark/events{/privacy}","received_events_url":"https://api.github.com/users/dereuromark/received_events","type":"User","site_admin":false},"created_at":"2015-08-19T14:40:59Z","updated_at":"2015-08-19T14:40:59Z","body":"OK, I just wanted to make sure."}}