Changeset 26210


Ignore:
Timestamp:
09/19/12 11:08:09 (8 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

File:
1 edited

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
Note: See TracChangeset for help on using the changeset viewer.