Bug 37402 - Task scheduling fails if you don't use the correct time format
Summary: Task scheduling fails if you don't use the correct time format
Status: CONFIRMED
Alias: None
Product: Koha
Classification: Unclassified
Component: Task Scheduler (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-18 13:17 UTC by Owen Leonard
Modified: 2024-12-12 05:27 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Owen Leonard 2024-07-18 13:17:28 UTC
It looks like one must enter a time in the format 00:00 or you will be unable to save the task. The page reloads with the message "Failed to add scheduled task" and no other information about why it failed.
Comment 1 David Cook 2024-12-12 05:27:47 UTC
Just tried this out and I can confirm it.

Few different things could be done here.

1. Placeholder in the input to show 00:00
2. Error handling that retain submitted values and show a hint about the validation failure
3. Do client-side validation