Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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).
Comment | File | Size | Author |
---|---|---|---|
#5 | 1313228-5.patch | 829 bytes | swentel |
Comments
Comment #1
dbeheydt CreditAttribution: dbeheydt commentedsame issue for ds_field_settings.bundle and ds_layout_settings.bundle
Comment #2
swentel CreditAttribution: swentel commentedCommitted and pushed.
Comment #4
barraponto CreditAttribution: barraponto commentedJust 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.
Comment #5
swentel CreditAttribution: swentel commentedAdded maxlength to the machine label as well, this should stop the errors.