Appointments icon indicating copy to clipboard operation
Appointments copied to clipboard

Appointments form does not react on blocked timeslot in either Destination calender or the 'control for conflicts calendar

Open nicoletflr opened this issue 1 year ago • 11 comments

Steps to reproduce

  1. Go to appointment page in Appointment app 2.Define Destination calendar
  2. Define 'Control for conflicts' calendar
  3. add an appointment in 'control for conflicts' calendar
  4. Go to form as a user and fill in form.
  5. Select day of the appointment from step 4, see if the timeslot is blocked
  6. Timeslot is still available!
  7. add an appointment in Destination calendar
  8. Go to form as a user and fill in form.
  9. Select day of the appointment from step 8, see if the timeslot is blocked
  10. Time slot is still available!

Expected behavior When a timeslot is filled in with an appointment either in the Destination calendar or the Control for conflicts calendar, than the timeslot should not be available in the form.

Actual behaviour When a timeslot is filled in with an appointment either in the Destination calendar or the Control for conflicts calendar, than the timeslot is still available in the form

Appointments app version: 2.18 calendars used: Nextcloud calendar 4.7.16 Nextcloud version 27.1.10 enterprise

nicoletflr avatar Oct 01 '24 12:10 nicoletflr

In steps 3 and 7 are you adding a full-day event or a regular event like a 1 hour long for example ? If it is a full-day event, the Full day can block option must be selected in the settings

SergeyMosin avatar Oct 01 '24 13:10 SergeyMosin

Thanks Sergey for your reply. I tried various lengths of events: half an hour, an hour, 8 hours, but not full-day

nicoletflr avatar Oct 01 '24 15:10 nicoletflr

I still can not replicate this.

vokoscreenNG-2024-10-01_12-10-14.webm

SergeyMosin avatar Oct 01 '24 16:10 SergeyMosin

I just checked again and it appeared today that 02-10-2024 the appointments up to 23-10 are all correctly blocked. But from 24-10 onwards it is not. I'm not shure this was already the situation when I reported the problem, because it started with a new appointment at 24-10 where it should have been blocked. Today I checked day by day in my agenda and the next 3 weeks are okay but after that the problem appears.

nicoletflr avatar Oct 02 '24 12:10 nicoletflr

Is there "Day light saving" time-shift in your country on Oct 23 this year by any chance ?

SergeyMosin avatar Oct 02 '24 13:10 SergeyMosin

No, that time-shift is at 27 oktober this year. And I have the payed version of your app with more weeks to plan.

nicoletflr avatar Oct 02 '24 14:10 nicoletflr

I checked at 3 okt and still until 23-10 all is well, but 24-10 and onwards time slots are not blocked. I would greatly appreciate it if you can help me with this bug.

nicoletflr avatar Oct 03 '24 13:10 nicoletflr

@nicoletflr Can you send me ( sergey at srgdev.com ) one of the events that is NOT blocking, so I can try to replicate it on my machine. Also, are there any Appointments related errors in the logs ?

SergeyMosin avatar Oct 03 '24 15:10 SergeyMosin

the blocking seems to be date based, not event based, so I'm not sure if this will help. I will check with my hosting provider for the logs and will come back to you!

nicoletflr avatar Oct 03 '24 15:10 nicoletflr

the blocking seems to be date based, not event based, so I'm not sure if this will help

In order to block, the app needs to extract the dates form conflicting events. There are some rare events that can not be properly parsed. I just want to make sure that this not the case.

SergeyMosin avatar Oct 03 '24 16:10 SergeyMosin

I still can not replicate this issue. Can you send me the settings dump for the page, it can be found in the Settings > Advanced > Debugging > Settings Dump

image

SergeyMosin avatar Oct 04 '24 13:10 SergeyMosin

Can not replicate in v2.3.6

SergeyMosin avatar Mar 02 '25 03:03 SergeyMosin