When I first saw the "long text" option in the text.module, I assumed it would be a database longtext, like a node body of a page or story. But that is not the case. It's limited to 255 chars or some such.

So, does CCK support nodes with a longer "body" text? Would this require a body.module to define the field? Is there a way to take advantage of the body column in the node_revisions table?

Thanks for any help.

Comments

jonbob’s picture

Component: content.module » text.module
Assigned: Unassigned » jonbob
Category: feature » bug

It's a bug. That selection should produce a mediumtext column in the database; looks like I broke it with the new schema. I'm planning on unifying the two text types into one, anyway; that should fix this as a side-effect.

I'm thinking of implementing a text box for the maximum number of characters allowed; if present, a varchar would be used with that limit, and if absent, a mediumtext (longtext?) would be used instead. This is flexibility we didn't have with the old schema.

Julien PHAM’s picture

Any ETA ? As I need this field to be longer than that in order to put back my articles again. I lost'em because of the problem with the update script, and... I forgot do to a database backup... ;)

jonbob’s picture

Status: Active » Fixed

The fields are now unified.

Anonymous’s picture

Status: Fixed » Closed (fixed)