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

clarify ScheduledTrigger's "every parameter missing" error response

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 8.2, 9.0
    • AutoScaling
    • None

    Description

      current behaviour:

      "Error validating trigger config scheduled_event_trigger: org.apache.solr.common.SolrException: Invalid Date Math String:'2019-02-27T20:20:20.202Znull'"
      

      proposed behaviour:

      "Error validating trigger config scheduled_event_trigger: TriggerValidationException{name=scheduled_event_trigger, details='{every=missing required property}'}"
      

      one-line (proposed) patch summary:

      • in the ScheduledTrigger constructor move "every" from the TriggerUtils.validProperties to the TriggerUtils.requiredProperties line/list

      Attachments

        1. SOLR-13279.patch
          0.9 kB
          Christine Poerschke

        Activity

          People

            cpoerschke Christine Poerschke
            cpoerschke Christine Poerschke
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: