Steps to reproduce:
1. In a 3.x instance, schedule a few future events,
2. Upgrade to 4.x, linking DB and file storage as necessary,
3. Run feature:install opencast-migration in karaf console.
Actual Results:
Migration fails, exceptions are thrown
Expected Results:
Future scheduled events should be migrated.
Workaround (if any):
None
Related to lines 197 and 280-287 of SchedulerMigrationService.java. The order in which the columns are resolved when querying the DB table in question does not correlate with what the SchedulerMigrationService class expects.