Closed (fixed)
Project:
Publish
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
13 Nov 2006 at 23:45 UTC
Updated:
22 Dec 2006 at 20:00 UTC
Jump to comment: Most recent file
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 '
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | publish-install.patch.txt | 571 bytes | alexiscott |
Comments
Comment #1
alexiscott commentedThis 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
Comment #2
jvandyk commentedThanks. No need to change it to 128 chars; it's a 32 char limit in the node table anyway. Committed.
Comment #3
(not verified) commented