Download & Extend

update function not accounting for db table prefix

Project:Fullname field for CCK
Version:5.x-1.2
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

If you are using a table prefix (eg. for multi-site db sharing) The update function doesn't work. The update attempts to modify content types in the table without apending the db-prefix to the table name. (ie. its trying to change databasename.content_table rather than the correct databasename.PREFIX_content_table.)

Ive never written a module, but in looking at some other database upgrade scripts, people are using more abstract functions like "content_alter_db_field" rather than editing the database directly.

Comments

#1

Status:active» closed (duplicate)

sorry, don't know how i missed that it was duplicate