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

JSON Facet syntax errors are responded as runtime exceptions with 500 code

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.3
    • Fix Version/s: 8.1, master (9.0)
    • Component/s: Facet Module
    • Labels:
      None

      Description

      Just encounter such weird behaviour, will recheck and followup.
      {

      {"filter":["\{!v=$bogus}

      "]}} responds back with just NPE which makes impossible to guess the reason.
      It might be even worse, since {

      {"filter":[\{"param":"bogus"}

      ]}} seems like just silently ignored. Turns out it's ok see SOLR-9682

        Attachments

        1. SOLR-12330.patch
          21 kB
          Mikhail Khludnev
        2. SOLR-12330.patch
          24 kB
          Mikhail Khludnev
        3. SOLR-12330.patch
          22 kB
          Mikhail Khludnev
        4. SOLR-12330.patch
          20 kB
          Munendra S N
        5. SOLR-12330.patch
          20 kB
          Munendra S N
        6. SOLR-12330.patch
          14 kB
          Munendra S N
        7. SOLR-12330.patch
          5 kB
          Munendra S N
        8. SOLR-12330.patch
          4 kB
          Mikhail Khludnev
        9. SOLR-12330.patch
          1 kB
          Mikhail Khludnev
        10. SOLR-12330-combined.patch
          18 kB
          Munendra S N
        11. SOLR-12330-doc.patch
          2 kB
          Munendra S N
        12. SOLR-12330-doc.patch
          2 kB
          Munendra S N

          Issue Links

            Activity

              People

              • Assignee:
                mkhl Mikhail Khludnev
                Reporter:
                mkhl Mikhail Khludnev
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: