I extended CalendarDateTime and everything was working fine, but when I'm not getting the associated CourseOrEvent when using get_by_id.
CourseOrEvent is an extension of CalendarEvent.
Both of these extensions are based on the tutorial: http://doc.silverstripe.com/doku.php?id=recipes:extending_the_event_calendar&s=recipes%20calendar
The CourseOrEventID is being returned as 0 event though it is saved fine in the db.
I'm running SS 2.3.3 and event_calendar 0.3