Closed Dev-iL closed 8 years ago
The following line throws an exception, because it expects to find a String but finds (null) instead:
String
(null)
var courseTitle = reader.GetString(reader.GetOrdinal("CourseTitle"));
This happens for some older courses. There should be a fallback that goes to the Course table and SELECTs the Title field WHERE ID is the courseId.
Course
SELECT
Title
WHERE ID
This error was fixed in the last merge request. Thanks for reporting this.
The following line throws an exception, because it expects to find a
String
but finds(null)
instead:This happens for some older courses. There should be a fallback that goes to the
Course
table andSELECT
s theTitle
fieldWHERE ID
is the courseId.