[ckan-changes] [ckan/ckan] a80974: [#3077] Catch mailer exceptions on user invite

GitHub noreply at github.com
Mon Jun 6 10:25:10 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/ckan/ckan
  Commit: a8097478f67f2085bfa77115eaf198f4f4bc7e75
      https://github.com/ckan/ckan/commit/a8097478f67f2085bfa77115eaf198f4f4bc7e75
  Author: amercader <amercadero at gmail.com>
  Date:   2016-06-01 (Wed, 01 Jun 2016)

  Changed paths:
    M ckan/logic/action/create.py
    M ckan/tests/logic/action/test_create.py

  Log Message:
  -----------
  [#3077] Catch mailer exceptions on user invite

Rather than returning a 500 error, return a ValidationError with the
SMTP error, and delete the pending user.


  Commit: bccd81560731d658869a4cbe2f251b3f04abb43e
      https://github.com/ckan/ckan/commit/bccd81560731d658869a4cbe2f251b3f04abb43e
  Author: Brook Elgie <specialbrew at gmail.com>
  Date:   2016-06-06 (Mon, 06 Jun 2016)

  Changed paths:
    M ckan/logic/action/create.py
    M ckan/tests/logic/action/test_create.py

  Log Message:
  -----------
  Merge branch 'ckan-3077-exceptions-user-invite'


Compare: https://github.com/ckan/ckan/compare/dd8551949005...bccd81560731


More information about the ckan-changes mailing list