Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-5257

confusing warning logged when unexpected xml attributes are found

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 4.7, 6.0
    • None
    • None

    Description

      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.

      Attachments

        1. SOLR-5257.patch
          1 kB
          Vitaliy Zhovtyuk
        2. SOLR-5257.patch
          4 kB
          Chris M. Hostetter

        Activity

          People

            hossman Chris M. Hostetter
            hossman Chris M. Hostetter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: