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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 7.3
    • 8.1, 9.0
    • Facet Module
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mkhl Mikhail Khludnev
            mkhl Mikhail Khludnev
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment