Changeset 26210

Show
Ignore:
Timestamp:
19.09.2012 11:08:09 (7 years ago)
Author:
sjm84
Message:

Having an error in the collectionConfig.xml file of a collection was causing a login screen to be displayed which was confusing. It will now produce a blank screen instead. It is not the ideal solution but it is much better than a confusing login screen

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/LibraryServlet.java

    r26084 r26210  
    361361        } 
    362362    } 
    363      
     363 
    364364    public void destroy() 
    365365    { 
     
    862862 
    863863            Element securityResponse = (Element) GSXML.getChildByTagName(this.recept.process(securityMessage), GSXML.RESPONSE_ELEM); 
     864            if (securityResponse == null) 
     865            { 
     866                return false; 
     867            } 
     868 
    864869            ArrayList<String> groups = GSXML.getGroupsFromSecurityResponse(securityResponse); 
    865870