From 3d64cb5ecae7c0d093e1343f87901769dc7d819e Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 12 Jun 2009 08:39:40 +0000 Subject: - Patch #372743 by bjaspan, yched, KarenS, catch et al: node body and teasers as fields. Oh, my. --- modules/field/field.crud.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'modules/field/field.crud.inc') diff --git a/modules/field/field.crud.inc b/modules/field/field.crud.inc index 97b3d8a70..956122ecf 100644 --- a/modules/field/field.crud.inc +++ b/modules/field/field.crud.inc @@ -425,7 +425,9 @@ function field_create_instance($instance) { // Set the field id. $instance['field_id'] = $field['id']; - // TODO: Check that the specifed bundle exists. + // Note that we do *not* prevent creating a field on non-existing bundles, + // because that would break the 'Body as field' upgrade for contrib + // node types. // TODO: Check that the widget type is known and can handle the field type ? // TODO: Check that the formatters are known and can handle the field type ? -- cgit v1.2.3