You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The property "slotTimeInMinutes" on Availability which is used in the calculation of getEndTime on the Appointment might not yet have been initialized. The default value for "slotTimeInMinutes" is 10. This default value will then be used to calculate the endTime.
This might lead to bugs which are hard to debug because they only affect "Scopes" which have a "slotTimeInMinutes" different from 10.
There are a few thoughs to concider:
Fully initialize the Availability at all times to prevent usage of default values?
Remove the default value and make the call to "getEndTime" throw an Exception when called on not fully initialized Availabilities?
The text was updated successfully, but these errors were encountered:
eappointment/zmsentities/src/Zmsentities/Appointment.php
Line 127 in b0632e5
The property "slotTimeInMinutes" on Availability which is used in the calculation of getEndTime on the Appointment might not yet have been initialized. The default value for "slotTimeInMinutes" is 10. This default value will then be used to calculate the endTime.
This might lead to bugs which are hard to debug because they only affect "Scopes" which have a "slotTimeInMinutes" different from 10.
There are a few thoughs to concider:
The text was updated successfully, but these errors were encountered: