https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37402

--- Comment #6 from Adam Styles <[email protected]> ---
Bug 37402: Task scheduling fails if you don't use the correct time format
    Applying scheduler form UI changes to ensure correct form state fail and
also adding 
    form place holder and label update to better inform users    

Before patch applied...

Schedule report - enter no time value - operations test

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 '[email protected]' in 'email' field
7. enter no value in the 'time' field
8. press 'save'.

Result - fail:
- Form submission creates an error state producing notification 'Failed to add
scheduled task'
- Form submission error should relate to the time field requirement and not
attempt submit action

After patch applied...

re-test - Schedule report - enter no time value - operations test

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 '[email protected]' 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 

Ready for Sign off.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to