How to reproduce:
- on a node form with an autocomplete term widget, enter more than 128 characters of tags like accumsan, adipiscing, aliquam, aliquet, amet, ante, arcu, at, auctor, augue;, condimentum, congue, consectetur, consequat, convallis,
- save or preview the node
- note how the tags have been truncated

In order to avoid any regression, it should be limited to 1024 like it is in Drupal 6.

CommentFileSizeAuthor
#1 971090_1_freetagging_1024.patch612 bytesscor
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

scor’s picture

Status: Active » Needs review
FileSize
612 bytes

The autocomplete term widget (tagging) widget does not specify any #maxlength and therefore does not allow to enter more than 128 characters. Drupal 6 sets it to 1024 in taxonomy_form_alter().

rgristroph’s picture

Status: Needs review » Reviewed & tested by the community

I tested this patch on a CVS checkout of Head, and tested with the taxonomy terms both before after patch was applied, and it works and fixes the problem.

--Rob

sun.core’s picture

Looks good.

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Awesome! Committed to HEAD. Thanks!!

Status: Fixed » Closed (fixed)

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