You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Christine Poerschke (JIRA)" <ji...@apache.org> on 2019/02/27 20:59:00 UTC

[jira] [Updated] (SOLR-13279) clarify ScheduledTrigger's "every parameter missing" error response

     [ https://issues.apache.org/jira/browse/SOLR-13279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christine Poerschke updated SOLR-13279:
---------------------------------------
    Attachment: SOLR-13279.patch

> 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
>            Priority: Minor
>         Attachments: SOLR-13279.patch
>
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org