mirror of https://github.com/apache/lucene.git
SOLR-1468: allow null names in NamedList
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@819403 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9c04080ad1
commit
250924d72e
|
@ -578,6 +578,9 @@ Bug Fixes
|
||||||
|
|
||||||
67. SOLR-1427: Fixed registry.jsp issue with MBeans (gsingers)
|
67. SOLR-1427: Fixed registry.jsp issue with MBeans (gsingers)
|
||||||
|
|
||||||
|
68. SOLR-1468: SolrJ's XML response parsing threw an exception for null
|
||||||
|
names, such as those produced when facet.missing=true (yonik)
|
||||||
|
|
||||||
Other Changes
|
Other Changes
|
||||||
----------------------
|
----------------------
|
||||||
1. Upgraded to Lucene 2.4.0 (yonik)
|
1. Upgraded to Lucene 2.4.0 (yonik)
|
||||||
|
|
|
@ -228,9 +228,11 @@ public class XMLResponseParser extends ResponseParser
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** The name in a NamedList can actually be null
|
||||||
if( name == null ) {
|
if( name == null ) {
|
||||||
throw new XMLStreamException( "requires 'name' attribute: "+parser.getLocalName(), parser.getLocation() );
|
throw new XMLStreamException( "requires 'name' attribute: "+parser.getLocalName(), parser.getLocation() );
|
||||||
}
|
}
|
||||||
|
**/
|
||||||
|
|
||||||
if( !type.isLeaf ) {
|
if( !type.isLeaf ) {
|
||||||
switch( type ) {
|
switch( type ) {
|
||||||
|
|
Loading…
Reference in New Issue