Event pages and increasing occurrenceID

Permalink
The occurrenceID in my generated event page URLs is randomly increasing. ie. this part of the URL:
/events/event?occurrenceID=555
This makes it impossible to link to the event pages themselves. What is going on here?

jawbonelid
View Replies:
EvanCooper replied on at Permalink Reply
EvanCooper
When you edit an event in the calendar, it increments the eventVersionID - it seems like that's what /?occurenceID is showing there, not the actual occurrenceID.

So I imagine if you made your dynamic page render based on the CalendarEventVersion ID instead of the CalendarEventOccurrence ID that would work better.
jawbonelid replied on at Permalink Reply
jawbonelid
Thanks. I came to the same conclusion - that it's being incremented with every edit.
But this is the URL that gets loaded if you click "visit page" in the Dashboard calendar. It's also the URL that gets loaded from an Event List block on the site (and what the Calendar Block on the landing page is expecting). Very strange behaviour.
EvanCooper replied on at Permalink Reply
EvanCooper
Got it - yeah if you think that behavior is unintended or incorrect, a good thing to do is to make an issue here: https://github.com/concrete5/concrete5/issues...