Closed (fixed)
Project:
Migrate
Version:
7.x-2.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Feb 2013 at 16:02 UTC
Updated:
16 Apr 2013 at 16:50 UTC
Jump to comment: Most recent
The following updates returned messages
migrate module
Update #7202
Array
D7 hook_update_N() may return a string -- http://api.drupal.org/api/drupal/modules!system!system.api.php/function/... -- the $ret array of D6 has gone.
Comments
Comment #1
Anonymous (not verified) commentedThank you for pointing this out, Joachim.
Mike - I can make a quick patch for this if you'd like. The update hooks I scanned are just doing this:
... so converting the return value to a string is really simple.
Comment #2
Stephen Winters commentedJust a note to say that I have the same problem. I just updated the core and all the modules on my website and it returned the same message:
I don't know how to do patches. Will it hurt anything to just leave it alone until the next module update? Or are there other solutions?
Best Wishes,
Stephen
Comment #3
joachim commentedRest assured that there are no untoward consequences of this at all. Instead of seeing the correct message for the update, you saw 'Array' instead, that's all.
Comment #4
Anonymous (not verified) commentedCorrect - it doesn't seem serious, but having it addressed could avoid confusion. I'm just not sure what Mike's thoughts on this are yet (ie - how he'd like to handle the flow in the hooks that are currently returning multiple messages because an array used to be allowed).
Comment #5
mikeryanOK, fixed the updated functions to return strings.