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

Data Import Handler Silently Fails (Letter Casing)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 4.2
    • None
    • None
    • See it both in Linux and Windows environment

    Description

      If you don't define data-config.xml fields with the right casing the data import handler silently fails. The reason for this is because DocBuilder class line 627 takes into account the case of the db fields and therefore cannot find the field in the entity.

      Set<EntityField> field = entity.getColNameVsField().get(key)

      It would be nice to have more logging to be able to understand why nothing was imported and that it was because no field in the entity could be found that matched the db columns.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gaoagong Bryce Griner
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: