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...

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

fxarte’s picture

I've created this patch that fixed the issue in my site.
Thanks.

fxarte’s picture

New 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.

fxarte’s picture

Please disregard the patch from #2, as it has the called function name wrong.

jec006’s picture

Status: Active » Needs review
jec006’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Issue summary: View changes

fixing grammar

irinaz’s picture