[ckan-changes] [okfn/ckan] cd204c: [#2375] Improve file upload error messages

GitHub noreply at github.com
Mon Jul 16 16:55:32 UTC 2012


  Branch: refs/heads/2375-demo-theme-development
  Home:   https://github.com/okfn/ckan
  Commit: cd204c92bf74bc020fd71a0b788ae81947da06a0
      https://github.com/okfn/ckan/commit/cd204c92bf74bc020fd71a0b788ae81947da06a0
  Author: Aron Carroll <self at aroncarroll.com>
  Date:   2012-07-16 (Mon, 16 Jul 2012)

  Changed paths:
    M ckan/public/base/javascript/modules/resource-upload-field.js
    M ckan/public/base/test/spec/modules/resource-upload-field.spec.js

  Log Message:
  -----------
  [#2375] Improve file upload error messages

The jQuery.fileupload plugin will report a success if Google returns
a 404. We now check to see if there is a result object on the data
before assuming success.


  Commit: d0a8dabc5e16c972f6de1f586c87892b1d0b83b5
      https://github.com/okfn/ckan/commit/d0a8dabc5e16c972f6de1f586c87892b1d0b83b5
  Author: Aron Carroll <self at aroncarroll.com>
  Date:   2012-07-16 (Mon, 16 Jul 2012)

  Changed paths:
    M ckan/public/base/javascript/modules/resource-upload-field.js
    M ckan/public/base/test/spec/modules/resource-upload-field.spec.js

  Log Message:
  -----------
  [#2375] Also handle situations where an upload has an error key


Compare: https://github.com/okfn/ckan/compare/a45a0426c18e...d0a8dabc5e16


More information about the ckan-changes mailing list