[ckan-changes] [okfn/ckan] 32ceea: 2869 Fixes problem with invalid data being passed ...

GitHub noreply at github.com
Thu Aug 16 12:26:41 UTC 2012


  Branch: refs/heads/2868-feed-search-error
  Home:   https://github.com/okfn/ckan
  Commit: 32ceeaedb50b74a008116ec728658438e27fb573
      https://github.com/okfn/ckan/commit/32ceeaedb50b74a008116ec728658438e27fb573
  Author: Ross Jones <rossdjones at gmail.com>
  Date:   2012-08-16 (Thu, 16 Aug 2012)

  Changed paths:
    M ckan/controllers/feed.py

  Log Message:
  -----------
  2869 Fixes problem with invalid data being passed to solr.

The feeds take a page number from the query string and use it to determine the
start position in the list.  Occassionally this is 0 and code around line 441
then decrement and then multiply this number, generating a start number less than
0 which solr chokes on.


  Commit: 0425e9caf785dd17fbc0b6af1092d4115cfab076
      https://github.com/okfn/ckan/commit/0425e9caf785dd17fbc0b6af1092d4115cfab076
  Author: Ross Jones <rossdjones at gmail.com>
  Date:   2012-08-16 (Thu, 16 Aug 2012)

  Changed paths:
    M ckan/tests/functional/test_group.py

  Log Message:
  -----------
  Test for 2868


Compare: https://github.com/okfn/ckan/compare/32ceeaedb50b^...0425e9caf785


More information about the ckan-changes mailing list