lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SOLR-4953) Config XML parsing should fail hard if an xpath is expect to match at most one node/string/int/boolean and multiple values are found
Date Thu, 01 Aug 2013 19:41:48 GMT

     [ https://issues.apache.org/jira/browse/SOLR-4953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Hoss Man resolved SOLR-4953.
----------------------------

       Resolution: Fixed
    Fix Version/s: 5.0
                   4.5
    
> Config XML parsing should fail hard if an xpath is expect to match at most one node/string/int/boolean
and multiple values are found
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-4953
>                 URL: https://issues.apache.org/jira/browse/SOLR-4953
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Hoss Man
>            Assignee: Hoss Man
>             Fix For: 4.5, 5.0
>
>         Attachments: SOLR-4953.patch, SOLR-4953.patch
>
>
> while reviewing some code i think i noticed that if there are multiple {{<indexConfig/>}}
blocks in solrconfig.xml, one just "wins" and hte rest are ignored.
> this should be a hard failure situation, and we should have a "TestBadConfig" method
to verify it.
> ---
> broadened goal of issue to fail if configuration contains multiple nodes/values for any
option where only one value is expected.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message