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

clarify ScheduledTrigger's "every parameter missing" error response

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

    Details

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

          Activity

            People

            • Assignee:
              cpoerschke Christine Poerschke
              Reporter:
              cpoerschke Christine Poerschke

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment