You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/08/01 20:19:48 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13726695#comment-13726695 ] 

ASF subversion and git services commented on SOLR-4953:
-------------------------------------------------------

Commit 1509359 from hossman@apache.org in branch 'dev/trunk'
[ https://svn.apache.org/r1509359 ]

SOLR-4953: Make XML Configuration parsing fail if an xpath matches multiple nodes when only a single value is expected.
                
> 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
>         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