Skip to content

Commit

Permalink
Edit Course Offering
Browse files Browse the repository at this point in the history
- fixed an issue that was causing a cross-listed offering to loose all coordinators when a not controlling course was edited
  • Loading branch information
tomas-muller committed Jul 12, 2016
1 parent 4a3119d commit f593599
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ private void doUpdate(HttpServletRequest request, CourseOfferingEditForm frm) th
if (!limitedEdit || updateNote)
co.setScheduleBookNote(note);

if (!limitedEdit || updateCoordinators || co.isIsControl().booleanValue()) {
if ((!limitedEdit || updateCoordinators) && co.isIsControl().booleanValue()) {
if (io.getCoordinators() == null) io.setCoordinators(new HashSet<DepartmentalInstructor>());
for (Iterator<DepartmentalInstructor> i = io.getCoordinators().iterator(); i.hasNext(); ) {
DepartmentalInstructor instructor = i.next();
Expand Down
6 changes: 6 additions & 0 deletions WebContent/help/Release-Notes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@
<line>Avoid NullPointerException when there is no date pattern (i.e., there is no default date pattern defined for the term).</line>
</description>
</item>
<item>
<name>Edit Course Offering</name>
<description>
<line>Fixed an issue that was causing a cross-listed offering to loose all coordinators when a not controlling course was edited.</line>
</description>
</item>
</category>
<category>
<title>Student Scheduling</title>
Expand Down

0 comments on commit f593599

Please sign in to comment.