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

aron novak’s picture

Assigned: Unassigned » aron novak
Status: Active » Postponed (maintainer needs more info)

Thank 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).

lyricnz’s picture

Where 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.

lyricnz’s picture

If 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.

aron novak’s picture

Title: Upgrading between versions does not update schema » Upgrade paths only from 0.3
Status: Postponed (maintainer needs more info) » Closed (won't fix)

The upgrade of the module is not possible from the version prior to 0.3. After the 0.3 release, there will be upgrade possibility.