A bug in the Workflow module confuses me

I’m getting and annoying error when running reverting a Feature (drush fr featurename):

/var/www/stage.example.org$ drush fr featurename

Fatal error: __clone method called on non-object in /var/www/stage.example.org/sites/all/modules/workflow/workflow.features.inc on line 55
Drush command terminated abnormally due to an unrecoverable error.

Error: __clone method called on non-object in /var/www/stage.example.org/sites/all/modules/workflow/workflow.features.inc, line 55

It looks like this bug was fixed 2 September 2014 and is tagged as being fixed in 7.x-2.4 … but that version was released on 15 July.

[Update:] Ah. A coffee later, and I realise my stupidity this morning — the bug is tagged as being in 7.x-2.4, not fixed in that version. Gosh, one shouldn’t post before coffee!

I apply the patch manually.


Retrieved from ‘https://samwilson.id.au/index.php?title=A_bug_in_the_Workflow_module_confuses_me&oldid=54