External Requisition UI: Advanced cron validation message of by 1

Description

Horizon 30 snapshot

Advanced cron validation error message seems off by 1 for some entries.
According to the quartz doc A cron expression is a string comprised of 6 or 7 fields (year is optional) separated by white space.
If I enter 1-4 characters, the error message is Error: Expression has only 4 parts. At least 5 parts are required.
Once I enter the 5th character, the error message is Error: Expression has only 5 parts. At least 6 parts are required.
No other impact that visual/misleading.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:
Fixed

Details

Assignee

Reporter

Fix versions

Priority

PagerDuty

Created May 30, 2022 at 2:35 PM
Updated May 30, 2022 at 3:44 PM
Resolved May 30, 2022 at 3:44 PM