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 2014/02/12 19:11:19 UTC

[jira] [Commented] (SOLR-5257) confusing warning logged when unexpected xml attributes are found

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

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

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

SOLR-5257: Improved error/warn messages when Update XML contains unexpected XML nodes

> confusing warning logged when unexpected xml attributes are found
> -----------------------------------------------------------------
>
>                 Key: SOLR-5257
>                 URL: https://issues.apache.org/jira/browse/SOLR-5257
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Hoss Man
>            Assignee: Hoss Man
>            Priority: Minor
>         Attachments: SOLR-5257.patch, SOLR-5257.patch
>
>
> Brian Robinson on the solr-user list got really confused by this warning message...
> {{Unknown attribute id in add:allowDups}}
> ...the mention of "id" in that warning was a big red herring that led him to assume something was wrong with the "id" in his documents, because it's not at all clear that's refering to the "xml node id" of an unexpected "xml attribute" (which in this case is "allowDups")
> filing this issue so i remembe to fix this warning to be more helpful, and review the rest of the file while i'm at it for other confusing warnings.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

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