Ticket #1394 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

Resource validation error messages misleading

Reported by: dread Owned by: dread
Priority: minor Milestone: ckan-sprint-2012-01-09
Component: ckan Keywords:
Cc: Repository: ckan
Theme: none

Description

(Editing a dataset) If the second resource contains any validation error then it says "Resources: Package resource(s) incomplete" and "Resource 1:".

Change History

comment:1 Changed 2 years ago by dread

  • Milestone changed from ckan-sprint-2011-11-07 to current-ckan-sprint-2011-11-21

I have half a fix for this at the moment.

comment:2 Changed 2 years ago by dread

  • Milestone changed from current-ckan-sprint-2011-11-21 to ckan-sprint-2011-12-05

Not moved on during fortnight - keen to close this off.

comment:3 Changed 2 years ago by dread

  • Milestone changed from ckan-sprint-2011-12-05 to current-ckan-sprint-2011-12-19

Not moved yet, but want to finish it...

comment:4 Changed 2 years ago by dread

  • Milestone changed from current-ckan-sprint-2011-12-19 to ckan-sprint-2012-01-09

Defo for this sprint.

comment:5 Changed 2 years ago by dread

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

Done my best here: [release-v1.5.1c c51db1a] Changed "incomplete" to "invalid" but numbering is done in Javascript, so will leave it.

I added a test for the main part of the validation (error_dict), but the API doesn't expose the error_summary which the javascript seems to get hold of somehow, so wasn't able to test for that.

Note: See TracTickets for help on using tickets.