• Resolved gonzob

    (@gonzob)


    I think I may have found a bug.

    1. Create a repeating (weekly) series of events in Google calendar

    2. Create a Simple-google-ical-widget list of events in a WordPress site using the “Secret Address in ical format” link. The first event in the series should show on the list.

    3. On the calendar, delete the first event, refresh the Widget cache.

    4. The first event is still shown. You have to delete the complete series, then re-create it starting a week later.

    5. This doesn’t happen for the second event in the series.

    Gonzo

    • This topic was modified 10 months, 4 weeks ago by gonzob.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author bramwaas

    (@bramwaas)

    Hi Gonzo,

    Thank you for reporting this (possible ) bug and the clear description.

    I think it is related with the way a repeating event is saved. The first event complete and for the others a repeat formula.

    I will investigate if my plugin interpretes the output wrong. I used to think the ical standard says the first event should always be displayed, but maybe that is wrong and even if its right, it may be better to work like google or make both possible.

    This investigation and solution will take some time.

    Thanks and Regards

    Bram

    Plugin Author bramwaas

    (@bramwaas)

    Hi Gonzo,

    After more reading the ical standard and reproducing the issue you reported with google calendar I am convinced that my interpretation is wrong, the first event should not be shown.

    So it is a clear bug.

    Because it is in the core of the plugin I will take my time to find a good solution and test it. I expect to solve it in version 2.2.0.

    Thank you for helping me to improve my plugin by finding this issue.

    Regards

    Bram

    • This reply was modified 10 months, 3 weeks ago by bramwaas.
    Thread Starter gonzob

    (@gonzob)

    Thanks for the feedback Bram.

    One other thing I noticed was that if I started a weekly event, then the first event would be shown. If I then edited the first event (only) then the original first event and the edited event are BOTH shown. I assume it all comes down to showing the first event.

    Gonzo

    Plugin Author bramwaas

    (@bramwaas)

    Hi Gonzo,

    you are a great tester.

    Unfortunately, the bug you are reporting now is technically different and more difficult to resolve.

    The original bug was indeed related to not processing the exclusion (using EXDATE). The solution to this that I am currently testing is quite simple.

    The new bug is caused by a completely different approach by Google. A new appointment is created with a reference to the old one and only the new one must be shown, while nothing is changed in the old appointment. So I have to link 2 appointments. That approach is not yet included in the plugin. I will solve this, but it will take me a few weeks. So not yet in v2.2.0, which I hope to publish this Sunday.

    Regards Bram

    Thread Starter gonzob

    (@gonzob)

    I don’t know about being a good tester, but it all came about by starting a weekly event one week earlier than I should have, then deleting the first event. It was the result of an error! Under normal circumstances it would be unusual to notice the bug.

    There’s no hurry with the fix.

    Thanks

    Gonzo

    Plugin Author bramwaas

    (@bramwaas)

    Hi Gonzo,

    I think both issues you reported are resolved with v2.2.0 that I published today.

    The issue that the first event of a repeating series was not deleted has been resolved by an improvement in the processing of EXDATE.

    The issue that when an occurrence was changed in a repeating series, the original version remained visible next to the changed version has been resolved by processing the simplest form of events with a RECURRENCE-ID (that is a reference to the changed event)

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Bug with repeating events’ is closed to new replies.