Closed e-lange closed 3 years ago
Hi @naimo84,
thanks for the super quick response!
I just tried beta.7 and it does not seem to detect recurring events properly:
This is what I get with beta.6, which is the expected point in time for the trigger:
Can you replicate this or do you need some ics-events?
Cheers
Hey @e-lange,
you're most welcome ;) I don't know why this changed between beta.6 and beta.7
Normally I'm testing with a Sogo Caldav server, this is working with both beta versions... Now I switched to my nextcloud CalDav server, and I can reproduce your problem.
Sometimes it's really annoying, that each server interprets the ics/caldav "standard" differently π
I'll investigate and will report back soon
Greets, Benjamin
Hey, I'm back π
parenthesis are sometimes very useful π
(ev.uid.uid ? ev.uid.uid : ev.uid) + eventStart.toISOString() + "start" vs. ev.uid.uid ? ev.uid.uid : ev.uid + eventStart.toISOString() + "start"
is definitly not the same ;) Sorry for that... beta.8 is online
Greets
Hi,
indeed, those parenthesis do have an impact :) I just tested 1.0.0-beta.8 and it seems to work as expected. I will keep it running.
Great job! I will send you a coffee or a beer - which ever you prefer.
Cheers
Hey @e-lange,
you are crazy, many many thanks for the ko-fi π I will put it in my daughter's piggy bank.
and perhaps one beer π
cheers
The trigger node emits identical messages when two events end and start at the same time It seems that in the case a caldav server provides multiple calendars the emitted messages at the two outputs point to the same message in case two events (in two calendars) end and start at the same time. Is it possible that the emitted object is not a new JavaScript object for each new event but referencing only single object? (I am speculating here)
To Reproduce Steps to reproduce the behavior:
Expected behavior The end message should match the event just ended and the start message should match the event just started.
Screenshots Two events matching start and end time in two calendars (Studio & Erdgeschoss):
![grafik](https://user-images.githubusercontent.com/58532249/116935696-01fe8b00-ac67-11eb-9ea5-663e40244744.png)
Trigger node:![grafik](https://user-images.githubusercontent.com/58532249/116934168-e3979000-ac64-11eb-97da-a2419df16cc9.png)
And the debug messages (please node the subtle difference of the emitting node):
![grafik](https://user-images.githubusercontent.com/58532249/116934500-5a348d80-ac65-11eb-8f07-eaddd5ab29a0.png)
Apparently, the messages do not differ and seem to stem from one calendar Erdgeschoss only.
Versions
Additional As usual, if you need more info, more reproducers, more context, please let me know.