Closed (fixed)
Project:
Country codes API
Version:
5.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Jun 2009 at 13:57 UTC
Updated:
1 Aug 2009 at 09:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
perusio commentedYes the table wasn't created in the previous version and hook_update_N() fails because there's no table to fill
with ther values from the CSV file.
Also hook_update_N should call update_sql in order for drupal to keep track of the update status and return
it as the hook_update_N() invocation result message.
There's a patch attached.
If you had problems, after applying the patch go to http://yoursite_root/update.php and
select 'update 5101' in the dropdown for countries_api module.
Run update and everything should go ok.
Comment #2
mrfelton commentedfixed in cvs, thanks