{"action":"created","issue":{"url":"https://api.github.com/repos/omega8cc/boa/issues/938","repository_url":"https://api.github.com/repos/omega8cc/boa","labels_url":"https://api.github.com/repos/omega8cc/boa/issues/938/labels{/name}","comments_url":"https://api.github.com/repos/omega8cc/boa/issues/938/comments","events_url":"https://api.github.com/repos/omega8cc/boa/issues/938/events","html_url":"https://github.com/omega8cc/boa/issues/938","id":154081037,"number":938,"title":"Run registry-rebuild before updatedb with --no-cache-clear","user":{"login":"omega8cc","id":128547,"avatar_url":"https://avatars.githubusercontent.com/u/128547?v=3","gravatar_id":"","url":"https://api.github.com/users/omega8cc","html_url":"https://github.com/omega8cc","followers_url":"https://api.github.com/users/omega8cc/followers","following_url":"https://api.github.com/users/omega8cc/following{/other_user}","gists_url":"https://api.github.com/users/omega8cc/gists{/gist_id}","starred_url":"https://api.github.com/users/omega8cc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omega8cc/subscriptions","organizations_url":"https://api.github.com/users/omega8cc/orgs","repos_url":"https://api.github.com/users/omega8cc/repos","events_url":"https://api.github.com/users/omega8cc/events{/privacy}","received_events_url":"https://api.github.com/users/omega8cc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/omega8cc/boa/labels/area%20-%20provision","name":"area - provision","color":"d4c5f9"},{"url":"https://api.github.com/repos/omega8cc/boa/labels/type%20-%20bug%20report","name":"type - bug report","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-10T18:58:45Z","updated_at":"2016-05-10T19:00:39Z","closed_at":"2016-05-10T19:00:39Z","body":"Bug report received internally:\r\n\r\nThe migration tasks was failing and the backtrace was showing that the failure comes from a flush_cache call.\r\n\r\nNow where things are odd is that the flush_cache is being triggered from within the new platform code base, so P2. The reason it's odd is because this call is being made before hook_updates are being called.\r\n\r\nThis cause a major issue with some modules (I noted two so far, namely commerce_discount and search_api_autocomplete). The issue being that updates in these module are declaring new columns in their schema. These columns are being fetched when the flush_cache occur and can't be found in the database (since the hook_updates were not called yet) hence causing a failure of the migrate task.\r\n\r\nImportant to note that this issue wasn't occurring before migration to BOA 3.0.x."},"comment":{"url":"https://api.github.com/repos/omega8cc/boa/issues/comments/218256610","html_url":"https://github.com/omega8cc/boa/issues/938#issuecomment-218256610","issue_url":"https://api.github.com/repos/omega8cc/boa/issues/938","id":218256610,"user":{"login":"omega8cc","id":128547,"avatar_url":"https://avatars.githubusercontent.com/u/128547?v=3","gravatar_id":"","url":"https://api.github.com/users/omega8cc","html_url":"https://github.com/omega8cc","followers_url":"https://api.github.com/users/omega8cc/followers","following_url":"https://api.github.com/users/omega8cc/following{/other_user}","gists_url":"https://api.github.com/users/omega8cc/gists{/gist_id}","starred_url":"https://api.github.com/users/omega8cc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omega8cc/subscriptions","organizations_url":"https://api.github.com/users/omega8cc/orgs","repos_url":"https://api.github.com/users/omega8cc/repos","events_url":"https://api.github.com/users/omega8cc/events{/privacy}","received_events_url":"https://api.github.com/users/omega8cc/received_events","type":"User","site_admin":false},"created_at":"2016-05-10T19:00:39Z","updated_at":"2016-05-10T19:00:39Z","body":"Should be fixed with https://github.com/omega8cc/provision/commit/924e9e6c7047bb81aa4d424b5c7111e5180673e3"}}