Ticket #1725 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Tag autocompletion and commas don't mix

Reported by: dread Owned by: dread
Priority: major Milestone: ckan-sprint-2012-02-06
Component: ckan Keywords:
Cc: Repository: ckan
Theme: none

Description

If you use tag autocompletion, it automatically adds a comma after the tag. This is fine if you are going to add another tag, but not fine if it is the last one. If you don't manually remove the final comma than you get form validation error "Tag string: Tag "" length is less than minimum 2"

Affects only version 1.5.2a.

Change History

comment:1 Changed 2 years ago by dread

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in 6fecbd9fb08f5a22e9dd2dd2745c287a38f44a30 on master. Added test for the tag_string_validator too. Aimed for 1.6 release.

Took 1h

Note: See TracTickets for help on using tickets.