Closed (won't fix)
Project:
FeedAPI
Version:
5.x-0.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
19 Aug 2007 at 12:23 UTC
Updated:
27 Aug 2007 at 12:48 UTC
When updating from 5.x-0.1 to 5.x-0.3, FeedAPI start emitting lots of errors. This appears to be because the schema has changed, and the module doesn't implement updates. Please follow the instructions described at http://drupal.org/node/51220 otherwise your users will not be able to update their modules. Thanks!
Comments
Comment #1
aron novakThank you for the helpful report, I'll create the hook_update_N functions whenever i'll alter the database scheme.
But please tell me if it makes sense to take care of it backward? I assume it doesn't make sense. If i create a new update iteration (for example feedapi_update_1() ) , it causes confusion at the case of the users who 'll upgrade from 0.3 to the new version (which contains the update hook).
Comment #2
lyricnz commentedWhere the update can't be run repeatedly, I guess you should make the retrospective _update_N() functions *check* the schema, to see if their change is required, before including it in the $ret[]. For MySQL I guess this would use DESCRIBE.
Comment #3
lyricnz commentedIf you don't want to retrofit the updates, at least call out the issue in the README or on the project page: there is no update from 0.1 to 0.2-1 - you need to manually delete feedapi table, and recreate.
Comment #4
aron novakThe upgrade of the module is not possible from the version prior to 0.3. After the 0.3 release, there will be upgrade possibility.