assessment.setTitle(newTitle);
assessment.setObjectives(newObjectives);
}
//
if (!surveyMode && !restrictedEdit) {
Control tmpControl = (Control) QTIEditHelper.getControl(assessment);
boolean oldInheritControls = assessment.isInheritControls();
boolean newInheritControls = ureq.getParameter("inheritswitch").equals("Yes");
assessment.setInheritControls(newInheritControls);
String feedbackswitchTmp = ureq.getParameter("feedbackswitch");
String hintswitchTmp = ureq.getParameter("hintswitch");
String solutionswitchTmp = ureq.getParameter("solutionswitch");
tmpControl.setSwitches(feedbackswitchTmp, hintswitchTmp, solutionswitchTmp);
if (tmpControl.getHint() != Control.CTRL_UNDEF || tmpControl.getHint() != Control.CTRL_UNDEF
|| tmpControl.getSolution() != Control.CTRL_UNDEF) assessment.setInheritControls(true);
if (oldInheritControls && !newInheritControls) {
tmpControl.setSwitches(Control.CTRL_UNDEF, Control.CTRL_UNDEF, Control.CTRL_UNDEF);
assessment.setInheritControls(false);
}
OutcomesProcessing outcomesProcessing = assessment.getOutcomes_processing();
if (outcomesProcessing == null) {