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

Plugininfo tries to load nodes of type "long"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.4, 4.0-ALPHA
    • Component/s: None
    • Labels:
      None
    • Environment:

      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. PlugininfoTest.java
          6 kB
          Frank Wesemann
        2. Solr-2541.patch
          0.7 kB
          Frank Wesemann

          Issue Links

            Activity

              People

              • Assignee:
                hossman Hoss Man
                Reporter:
                wese Frank Wesemann
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: