summaryrefslogtreecommitdiff
path: root/modules/field/field.crud.inc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/field/field.crud.inc')
-rw-r--r--modules/field/field.crud.inc4
1 files changed, 3 insertions, 1 deletions
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 ?