Ticket #818 (closed defect: fixed)

Opened 10 years ago

Last modified 10 years ago

DOR advertise_lookup causes exception

Reported by: kimbrl Owned by: cemeyer
Priority: critical Milestone:
Component: - Version: 0.1o
Severity: High Keywords:
Cc: kimbrl Blocking:
Blocked By:

Description

When doing a lookup that should return no results using advertise_lookup() an exception is caused.

Exception (with type 'exceptions.TypeError?'): 'NoneType?' object is not iterable

When 'DOR' is removed from the lookuptypes for advertise_lookup this exception does not occur and an empty list is correctly returned.

attached is a code snippet showing this error.

Attachments

adtest.repy Download (431 bytes) - added by kimbrl 10 years ago.

Change History

Changed 10 years ago by kimbrl

Changed 10 years ago by justinc

  • priority changed from major to critical
  • severity changed from Medium to High

I'm escalating this because this has been encountered in several contexts. It shouldn't be hard to fix.

Changed 10 years ago by cemeyer

  • status changed from new to closed
  • resolution set to fixed

Fixed in r3403.

Changed 10 years ago by cemeyer

Forgot to remove a line which is no longer needed; fixed in r3404.

Note: See TracTickets for help on using tickets.