If I have a node with very long title, and try to link to this node using nodereference, the nodereference autocomplete field brings up the correct title, but cuts it off and also cuts off the nid that normally appears in the field after the title [nid:555]. For example, the field will look like this:

Regional Dialogue on Intellectual Property Rights, Innovation and Sustainable Development in Eastern and Southern Africa [nid:55

This nid should actually be 555 and not 55. When I look in the database at the reference nid, it is 0.

Thanks for this indispensable module!

Charles.

Comments

foxtrotcharlie’s picture

Status: Active » Closed (fixed)

I'm closing this as there's an easy workaround using hook_form_alter in a custom module to override the maxlength of the node_reference fields. See my comment here:

http://drupal.org/node/68180#comment-275115