String data, right truncated: 1406 Data too long for column 'label' at row 1: INSERT INTO {ds_vd} (vd, label) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1); Array ( [:db_insert_placeholder_0] => subspecialisms_from_specialism_s-block_1-fields [:db_insert_placeholder_1] => Subspecialisms_from_specialism_s: Subspecialism from specialism - small (Fields) ) in drupal_write_record() (regel 6861 van /home/deploy/workspace/krimson_uza/www/includes/common.inc).

CommentFileSizeAuthor
#5 1313228-5.patch829 bytesswentel
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dbeheydt’s picture

same issue for ds_field_settings.bundle and ds_layout_settings.bundle

swentel’s picture

Status: Active » Fixed

Committed and pushed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

barraponto’s picture

Status: Closed (fixed) » Active

Just met this issue when I tried to save a block field. The field label is also capped at 32 (see ds.install, line 268). And before we bump into it, the ds_view_modes also caps its label at 32 (line 225).

Maybe it is a reasonable size — when I tried to save 'country_latest_library_resources' I wondered whether it was too big for a ds block field name. If this is by design, then it should prevent the user from entering anything beyond 32 characters.

swentel’s picture

Status: Active » Fixed
FileSize
829 bytes

Added maxlength to the machine label as well, this should stop the errors.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.