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

Plugininfo tries to load nodes of type "long"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1
    • 3.4, 4.0-ALPHA
    • None
    • None
    • all

    Description

      As of version 3.1 Plugininfo adds all nodes whose types are not "lst","str","int","bool","arr","float" or "double" to the children list.

      The type "long" is missing in the NL_TAGS set.
      I assume this a bug because DOMUtil recognizes this type, so I consider it a valid tag in solrconfig.xml
      Maybe it's time for a dtd? Or one may define SolrConfig.nodetypes somewhere.
      I'll add a patch, that extends the NL_TAGS Set.

      Attachments

        1. Solr-2541.patch
          0.7 kB
          Frank Wesemann
        2. PlugininfoTest.java
          6 kB
          Frank Wesemann

        Issue Links

          Activity

            People

              hossman Chris M. Hostetter
              wese Frank Wesemann
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: