The module does not validate the length of the value before it is save to a field with a limited length.

This results in a database exception - values should always be truncated if they are too long for the chosen field type.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

esbenvb’s picture

This patch fixes it. When porting it, make sure to include the author information as mentioned on http://drupal.org/user/989064

jphautin’s picture

Assigned: Unassigned » jphautin
Issue summary: View changes
Status: Patch (to be ported) » Needs work

  • jphautin committed 3cdf23c on 7.x-1.x
    Issue #1918112 : Data too long for column 'xxx' - We need to validate...
jphautin’s picture

Status: Needs work » Needs review

First version in 7.x-1.x branch.

jphautin’s picture

Status: Needs review » Closed (fixed)