[ckan-changes] [okfn/ckan] a4f275: [#581] Fix crash in stage 3 when ValidationErrors ...

GitHub noreply at github.com
Thu Mar 7 16:44:14 UTC 2013


  Branch: refs/heads/581-validationerror-crashes-stage3
  Home:   https://github.com/okfn/ckan
  Commit: a4f275f0bff30ff1f6615c51130070118884f91f
      https://github.com/okfn/ckan/commit/a4f275f0bff30ff1f6615c51130070118884f91f
  Author: amercader <amercadero at gmail.com>
  Date:   2013-03-07 (Thu, 07 Mar 2013)

  Changed paths:
    M ckan/controllers/package.py

  Log Message:
  -----------
  [#581] Fix crash in stage 3 when ValidationErrors occur

Basically when raising a ValidationError on stage 3 of the dataset
creation, the new_metadata method didn't set context before
_setup_template_variables was called, raising an exception.

Note that this prevents the exception, but the message is still not
shown (see #586).





More information about the ckan-changes mailing list