Ticket #1484 (closed defect: fixed) — at Version 2

Opened 2 years ago

Last modified 2 years ago

Creating package with duplicate tags causes exception

Reported by: dread Owned by: dread
Priority: minor Milestone: ckan-sprint-2011-12-05
Component: ckan Keywords:
Cc: Repository: ckan
Theme: none

Description (last modified by dread) (diff)

e.g.

curl http://localhost:5000/api/action/package_create -d '{"name":"test5", "tags":[{"name": "tag6"}, {"name": "tag6"}]}' -H 'Authorization:tester'

Also broken in Web UI (adding a package).

Affects API and Web UI in 1.5 and I think all versions from 1.4.1

Change History

comment:1 Changed 2 years ago by dread

  • Description modified (diff)

comment:2 Changed 2 years ago by dread

  • Status changed from new to closed
  • Resolution set to fixed
  • Description modified (diff)

Fixed and added tests. Improved IntegrityError? error messages. Changeset:ddca1a7 for release 1.5.1.

Note: See TracTickets for help on using tickets.