[ckan-changes] [okfn/ckan] f19278: Stop the package controller from crashing when use...

GitHub noreply at github.com
Wed Jul 11 14:15:56 UTC 2012


  Branch: refs/heads/master
  Home:   https://github.com/okfn/ckan
  Commit: f19278e68e8d3148421e97a4a5f034f1b8f94a3b
      https://github.com/okfn/ckan/commit/f19278e68e8d3148421e97a4a5f034f1b8f94a3b
  Author: Sean Hammond <seanhammond at lavabit.com>
  Date:   2012-07-11 (Wed, 11 Jul 2012)

  Changed paths:
    M ckan/controllers/package.py

  Log Message:
  -----------
  Stop the package controller from crashing when used at the root URL

If the root URL '/' was connected to the package controller (e.g. by an
IRoutes plugin) _guess_package_type() would crash. Add a special case to
avoid the crash.


  Commit: 8dfbf0d02b070a5a99f75e039eab6a3bf03b006f
      https://github.com/okfn/ckan/commit/8dfbf0d02b070a5a99f75e039eab6a3bf03b006f
  Author: kindly <kindly at gmail.com>
  Date:   2012-07-11 (Wed, 11 Jul 2012)

  Changed paths:
    M ckan/controllers/package.py

  Log Message:
  -----------
  Merge pull request #63 from okfn/feature-allow-package-controller-at-root-url

Stop the package controller from crashing when used at the root URL


Compare: https://github.com/okfn/ckan/compare/16a689555807...8dfbf0d02b07


More information about the ckan-changes mailing list