Ticket #846 (closed defect: fixed)

Opened 12 years ago

Last modified 12 years ago

[S] HandleSecurity error when gatekeeping resources and not logged in

Reported by: lawrence Owned by: pjkersha
Priority: blocker Milestone: PROD Step3
Component: security Version:
Keywords: Cc:

Description

Try and view  this (secure granule), but do it when not logged in. Get this error:

Module ows_server.controllers.retrieve:58 in view         
           >>  status,x=interface.GetXML(uri)
Module ows_server.lib.ndgInterface:139 in GetXML        
>>  status,xmlh=self.__GateKeep(ndgO,xmlh)
Module ows_server.lib.ndgInterface:195 in __GateKeep        
>>  status,message=HandleSecurity(s,securityTokens)
Module ows_server.models.ndgSecurity:12 in HandleSecurity        
>>  return SecurityHandler(securityElement, securityTokens)()
<type 'exceptions.TypeError'>: __init__() should return None, not 'tuple' 

Change History

comment:1 Changed 12 years ago by lawrence

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

Fixed in changeset:2803

Note: See TracTickets for help on using tickets.