lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrzej Bialecki (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-13279) clarify ScheduledTrigger's "every parameter missing" error response
Date Thu, 28 Feb 2019 09:22:00 GMT

    [ https://issues.apache.org/jira/browse/SOLR-13279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16780301#comment-16780301
] 

Andrzej Bialecki  commented on SOLR-13279:
------------------------------------------

+1. The Ref Guide already lists this param as required.

> 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


Mime
View raw message