Closed (fixed)
Project:
Hosting
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
9 Nov 2016 at 15:43 UTC
Updated:
23 Nov 2016 at 16:34 UTC
Jump to comment: Most recent
The task is not valid
This message tells us nothing about what is going on. I am encountering it while using drush hostmaster-migrate command. It is blocking upgrading, but I figured I might as well patch this message to give more details.
Comments
Comment #3
jon pugh- drush_set_error('HOSTING_INVALID_TASK', t("This task is not valid"));
+ drush_set_error('HOSTING_INVALID_TASK', t("Could not find or create a '!type' task for hosting context '!context'.", array(
+ '!type' => $type,
+ '!context' => $id,
+ )));
This now tells us the type of task that is being attempted and the context name.
Comment #4
colanYay!
Comment #5
colanActually, this is already committed.