Skip to content

Commit

Permalink
Data Exchange: Course Offering XML Import
Browse files Browse the repository at this point in the history
- fixed checking of the seatingType attribute on exams
  • Loading branch information
tomas-muller committed Jan 25, 2024
1 parent ae9a0d8 commit db695ce
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2867,7 +2867,7 @@ private boolean elementExam(Element element, InstructionalOffering io) throws Ex
Integer size = getOptionalIntegerAttribute(examElement, "size");
Integer length = getRequiredIntegerAttribute(examElement, "length", elementName);
String seating = getOptionalStringAttribute(examElement, "seatingType");
int seatingType = ("normal".equals(seating) ? Exam.sSeatingTypeNormal : Exam.sSeatingTypeNormal);
int seatingType = ("normal".equals(seating) ? Exam.sSeatingTypeNormal : Exam.sSeatingTypeExam);
String type = getRequiredStringAttribute(examElement, "type", elementName);
String note = getOptionalStringAttribute(examElement, "note");
Integer printOffset = getOptionalIntegerAttribute(examElement, "printOffset");
Expand Down
9 changes: 9 additions & 0 deletions WebContent/help/Release-Notes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,15 @@
</description>
</item>
</category>
<category>
<title>Administration</title>
<item>
<name>Data Exchange: Course Offering XML Import</name>
<description>
<line>Fixed checking of the seatingType attribute on exams.</line>
</description>
</item>
</category>
</release>
<release>
<version>4.7.106</version>
Expand Down

0 comments on commit db695ce

Please sign in to comment.