In publish.install,v 1.3.2.1
I found that i was having problems with one of our CCK content types. The name was Commentary. This was then getting concatenated with content- by cck to be content-commentary

As this was over the 16 characters specified by the type field (below) the name was getting entered incorrectly in the DB. This was causing the content type selection box to never save a ticked state.

db_query("CREATE TABLE {publish_nodetypes} (
channel_id int(10) unsigned NOT NULL default '0',
type varchar(16) NOT NULL default '',
pub_vocab varchar(255) NOT NULL default '

CommentFileSizeAuthor
#1 publish-install.patch.txt571 bytesalexiscott

Comments

alexiscott’s picture

StatusFileSize
new571 bytes

This is my first submission of a patch. I have tested it against 4.7.x-1.x-dev 2006-Nov-1
I hope it helps someone.
arcX

jvandyk’s picture

Status: Active » Fixed

Thanks. No need to change it to 128 chars; it's a 32 char limit in the node table anyway. Committed.

Anonymous’s picture

Status: Fixed » Closed (fixed)