You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2013/08/01 21:41:48 UTC

[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

     [ 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