Ticket #818 (closed defect: fixed)

Opened 12 years ago

Last modified 12 years ago

[M] Bug in discovery (pylons version)further actions

Reported by: selatham Owned by: lawrence
Priority: blocker Milestone: PROD Final
Component: discovery Version:
Keywords: Cc:

Description

Initial search on 'precipitation'. Then when I try to 'refine search' I get:-

An incomplete NDG search form was received: textTarget[{'start': 1, 'howmany': 10, 'constraints': ''}]

When I try 'next 10' I get:-

An incomplete NDG search form was received: bboxW[{'textTarget': 'All', 'start': '11', 'searchString': 'precipitation', 'howmany': '10', 'amp': ''}]

Change History

comment:1 Changed 12 years ago by lawrence

Hmmm. I'm building an escaped URL ... bad idea, looks like:

stuff?start=20&howmany=10&searchString=badc&textTarget=All

which gets parsed into

{'textTarget': 'All', 'start': '20', 'searchString': 'badc', 'howmany': '10', 'amp': ''}

comment:2 Changed 12 years ago by lawrence

Fixed the next/previous problem in changeset:2745

comment:3 Changed 12 years ago by lawrence

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in revision:2750

comment:4 Changed 12 years ago by selatham

  • Status changed from closed to reopened
  • Resolution fixed deleted

I'm getting the refine search problem again:- Initial search  http://ndgbeta.badc.rl.ac.uk/discovery?searchString=bodc&textTarget=All

then refine search

An incomplete NDG search form was received: bboxW[{'searchString': 'bodc', 'howmany': 10, 'searchTarget': 'Discovery', 'start': 1, 'textTarget': 'All', 'constrained': }]

comment:5 Changed 12 years ago by lawrence

Frankly, I don't know why this is happening. It's not happening in my sandbox ... I'm on the case, but the clues are thin!

comment:6 Changed 12 years ago by lawrence

Ok, I can repeat it. Can you confirm that this only occurs after getting a results page from a search which was launched from the one-line search box (as opposed to the advanced box)?

comment:7 Changed 12 years ago by lawrence

There is a fix for the version of the bug outlined above in changeset:3014

comment:8 Changed 12 years ago by lawrence

  • Status changed from reopened to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.