Ticket #663 (closed task: fixed)

Opened 12 years ago

Last modified 12 years ago

[M] Discovery ascii codec problem

Reported by: selatham Owned by: lawrence
Priority: blocker Milestone: Replace Metadata Gateway
Component: discovery Version:
Keywords: WS-Discovery2 MDIP Cc:

Description

Do a search on say, bgs,  http://glue.badc.rl.ac.uk/discovery?textTarget=All&searchString=bgs&advanced=0

Get results then ask for next ten records. Get an error:- "Error retrieving documents for 354 hits is codec can't encode character u'\xad' in position 137: ordinal not in range(128)?"

Change History

comment:1 Changed 12 years ago by lawrence

Status report: This is because Matt's doPresent is getting me an original DIF rather than a processed DIF, and I'm not handling it properly ... (it's taken me two hours to work that out :-(, because my test cases use the processed DIF, I couldn't work out what the problem was).

comment:2 Changed 12 years ago by lawrence

This is fixed in changeset:2330 (wrongly advertised as for ticket:666). NB: fix not yet deployed on Glue. Will try to do another couple before updating glue code.

comment:3 Changed 12 years ago by lawrence

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