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

clarify ScheduledTrigger's "every parameter missing" error response

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: master (9.0), 8.2
    • Component/s: AutoScaling
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: