[ckan-changes] [okfn/ckan] 971e5e: [#964] Don't 500 on non-string extra values

GitHub noreply at github.com
Fri May 31 14:53:33 UTC 2013


  Branch: refs/heads/964-500-Server-Error-on-non-string-extra-value
  Home:   https://github.com/okfn/ckan
  Commit: 971e5e04cef3335a87b640ac9b3ce5da81fdb967
      https://github.com/okfn/ckan/commit/971e5e04cef3335a87b640ac9b3ce5da81fdb967
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2013-05-31 (Fri, 31 May 2013)

  Changed paths:
    M ckan/logic/schema.py
    M ckan/logic/validators.py

  Log Message:
  -----------
  [#964] Don't 500 on non-string extra values

Catch extras with non-string values in validation and send back an error
message, instead of 500ing when trying to save them to the database.

Fixes #964





More information about the ckan-changes mailing list