lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [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
Date Thu, 01 Aug 2013 19:39:48 GMT

    [ https://issues.apache.org/jira/browse/SOLR-4953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13726782#comment-13726782
] 

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

Commit 1509390 from hossman@apache.org in branch 'dev/branches/branch_4x'
[ https://svn.apache.org/r1509390 ]

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


Mime
View raw message