Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-4262

In pipes XML config, List<String> serializes incorrect causing the parameters to be empty when read

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • None
    • None
    • tika-pipes
    • None

    Description

      tika configuration when saving a fetcher with a list of strings will look like this:

            <httpHeaders>[]</httpHeaders>
            <httpRequestHeaders>[Authorization: xyz123]</httpRequestHeaders>

      These are invalid format. It's expecting them to be:

            <httpHeaders></httpHeaders>
            <httpRequestHeaders>
                <httpRequestHeader>Autorization: xyz123</httpRequestHeader>
            </httpRequestHeaders>

      So the effect of this is all List<String> configs in fetchers are completely ignored after being saved/re-read.

      Attachments

        Activity

          People

            ndipiazza Nicholas DiPiazza
            ndipiazza Nicholas DiPiazza
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: