Hi There
This module is used by views_boxes to pass argument of type entity reference. When the title entity being referred has more than 128 characters it produces this error:
nid_####-#### cannot be longer than 128 characters but is currently 132 characters long.
This seems to relate to the fact that maxlength on a textfield in D7 is 128 characters: http://api.drupal.org/api/drupal/developer%21topics%21forms_api_referenc...
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | limit_length_to128_chars-1434884-3.patch | 1.19 KB | fxarte |
| #2 | limit_length_to128_chars-1434884-2.patch | 1.19 KB | fxarte |
| #1 | limit_length_to128_chars-1434884-1.patch | 794 bytes | fxarte |
Comments
Comment #1
fxarte commentedI've created this patch that fixed the issue in my site.
Thanks.
Comment #2
fxarte commentedNew patch with the same logic, wrapped in a function that return the properly formatted label, so it can be used by other modules: http://drupal.org/node/1439008.
Comment #3
fxarte commentedPlease disregard the patch from #2, as it has the called function name wrong.
Comment #4
jec006 commentedComment #5
jec006 commentedhttp://drupal.org/commitlog/commit/24284/4a3eb03a06f060eaf7b3515980d09c9...
Committed - thanks
Comment #6.0
(not verified) commentedfixing grammar
Comment #7
irinaz commentedhttps://www.drupal.org/project/remove_field_label_length_limit