Closed (fixed)
Project:
Office Hours
Version:
8.x-1.17
Component:
Code - widget
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Jun 2024 at 09:45 UTC
Updated:
5 Jul 2024 at 09:49 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #2
shashank5563 commentedComment #3
abhishek_gupta1 commentedComment #5
abhishek_gupta1 commented@shashank5563, I have fixed the issue and created MR. please review it once.
Comment #6
shashank5563 commentedComment #7
johnvThanks, I will commit the attached patch, which is equivalent to the above soution.
I think this is a minor error, not a major one, since no site is broken, and the given test case (empty pm hour) will give an error message 'The time is incomplete. A value must be selected for hour.' anyway.
Comment #8
johnvComment #10
plopescWrong comment
Comment #11
plopescComment #13
johnvAbove patch changes the check for correct filling of the time, sepecifically the empty hours field.
Comment #14
plopescLast patch also fixes #3456188: '00' minutes are considered as empty in OfficeHoursDateList::validateDateList
Adding for reference.