Christine Poerschke created SOLR-13279:
------------------------------------------

             Summary: clarify ScheduledTrigger's "every parameter missing" 
error response
                 Key: SOLR-13279
                 URL: https://issues.apache.org/jira/browse/SOLR-13279
             Project: Solr
          Issue Type: Improvement
          Components: AutoScaling
            Reporter: Christine Poerschke
            Assignee: Christine Poerschke


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

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

one-line (proposed) patch summary:
* in the {{ScheduledTrigger}} constructor move {{"every"}} from the 
{{TriggerUtils.validProperties}} to the {{TriggerUtils.requiredProperties}} 
line/list



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to