Bugzilla – Attachment 189960 Details for
Bug 37402
Task scheduling fails if you don't use the correct time format
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37402: Applying scheduler form UI changes to ensure correct form state fail
Bug-37402-Applying-scheduler-form-UI-changes-to-en.patch (text/plain), 2.24 KB, created by
Owen Leonard
on 2025-11-26 14:32:26 UTC
(
hide
)
Description:
Bug 37402: Applying scheduler form UI changes to ensure correct form state fail
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2025-11-26 14:32:26 UTC
Size:
2.24 KB
patch
obsolete
>From 6f857566482ac3ded733916dafb28931df7f1825 Mon Sep 17 00:00:00 2001 >From: "adam.styles" <adam.styles@esa.edu.au> >Date: Sun, 23 Nov 2025 09:07:59 +1100 >Subject: [PATCH] Bug 37402: Applying scheduler form UI changes to ensure > correct form state fail > >Also adding form place holder and label update to better inform users > >1. login to koha instance >2. navigate to reports module >3. create a small quick test report or use an existing small test report >4. select 'schedule' from toolbar above main sql window >5. once redirected to task scheduler UI, choose 'tommorow' in drop down > 'date' field. >6. enter 'test@local.com' in 'email' field >7. enter no value in the 'time' field >8. press 'save'. > >Result - PASS: >- No 'Failed to add scheduled task' error state occurs, and the correct > time require error state does occur >- Form does not attempt submit as it identifies the required time field > data is missing >- Addition time field place holder information is provided and time > field label also offer time format information to user > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/tools/scheduler.tt | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/scheduler.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/scheduler.tt >index 52c514e56f9..76cf5722bbf 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/scheduler.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/scheduler.tt >@@ -44,7 +44,8 @@ > <legend>Task scheduler</legend > ><ol> > <li><span class="label">Current server time is:</span> [% time | html %]</li> >- <li><label for="starttime">Time:</label> <input type="text" name="starttime" id="starttime" value="" maxlength="5" size="5" /></li> >+ <li><label for="starttime">Time: (set 24 hour time hhmm):</label> >+ <input type="text" name="starttime" id="starttime" value="" maxlength="5" size="5" placeholder="hhmm" required /></li> > <li> > <label for="startdate">Date: </label> > <input type="text" size="10" id="startdate" name="startdate" class="flatpickr" data-flatpickr-futuredate="true" value="" /> >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 37402
:
189897
| 189960 |
189961