Skip to content
Snippets Groups Projects
Commit ec7c95a9 authored by srosse's avatar srosse
Browse files

OO-2751: show a message if the selected test in course element can not be read

parent c0013aeb
No related branches found
No related tags found
No related merge requests found
......@@ -292,9 +292,14 @@ public class IQConfigurationController extends BasicController {
// repository search controller done
cmc.deactivate();
RepositoryEntry re = searchController.getSelectedEntry();
boolean needManualCorrection = checkManualCorrectionNeeded(re);
doIQReference(urequest, re, needManualCorrection);
updateEditController(urequest, true);
try {
boolean needManualCorrection = checkManualCorrectionNeeded(re);
doIQReference(urequest, re, needManualCorrection);
updateEditController(urequest, true);
} catch (Exception e) {
logError("", e);
showError("error.resource.corrupted");
}
}
} else if (source == replaceWizard) {
if(event == Event.CANCELLED_EVENT) {
......
......@@ -46,6 +46,7 @@ error.surv.undefined.long=Es ist kein Fragebogen f\u00FCr "{0}" definiert. W\u00
error.surv.undefined.short=Es ist kein Fragebogen f\u00FCr "{0}" definiert.
error.test.undefined.long=Es ist kein Test f\u00FCr "{0}" definiert. W\u00E4hlen Sie einen unter "Test-Konfiguration" aus.
error.test.undefined.short=Es ist kein Test f\u00FCr "{0}" definiert.
error.resource.corrupted=Die Lernresource konnte nicht gelesen werden. Sie ist entweder korrupt oder mit dem falschen Format gespeichert.
fieldset.chosecreateeditfile=Informationstext (HTML-Seite)
file.name=Gew\u00E4hlte Datei
info.assessment=Bei diesem Test k\u00F6nnen Ihre Resultate von den Administratoren und den Betreuern dieses Kurses eingesehen werden.
......
......@@ -40,6 +40,7 @@ disclaimer.file.invalid=Some information cannot be displayed because the referen
error.assessment.pulled=The assessment is finished.
error.assessment.stopped=Your tutor pull your test.
error.entry.locked=The learning resource selected is currently edited by {0}. Please select another learning resource or try again later.
error.resource.corrupted=The learning resource cannot be interpreted. It seems corrupted or with the wrong format.
error.self.undefined.long=No self-test for "{0}" defined. Choose one in the section "Self-test configuration".
error.self.undefined.short=No self-test for "{0}" defined.
error.surv.undefined.long=No questionnaire for "{0}" defined. Choose one in the section "Questionnaire configuration".
......
......@@ -38,7 +38,8 @@ disclaimer=Mentions l\u00E9gales
disclaimer.file.invalid=Certaines informations ne peuvent pas \u00EAtre affich\u00E9es, car le fichier r\u00E9f\u00E9renci\u00E9 {0} n'est plus existant. Veuillez pr\u00E9venir la direction du cours.
error.assessment.pulled=Le test a \u00E9t\u00E9 retir\u00E9 par votre coach.
error.assessment.stopped=Le test est termin\u00E9.
error.entry.locked=La ressource d'\u00E9tude choisie est actuellement \u00E9dit\u00E9e par un utilisateur. Veuillez choisir une autre ressource d'\u00E9tude SVP.
error.entry.locked=La ressource d'\u00E9tude choisie est actuellement \u00E9dit\u00E9e par un utilisateur. Veuillez choisir une autre ressource d'\u00E9tude SVP.
error.resource.corrupted=L'object didactique n'a pas pu \u00EAtre lu. Il semble soit corrompu soit au mauvais format.
error.self.undefined.long=Aucun auto-test d\u00E9fini pour "{0}". Choisissez dans "Configuration auto-test".
error.self.undefined.short=Aucun auto-test d\u00E9fini pour "{0}".
error.surv.undefined.long=Aucun questionnaire d\u00E9fini pour "{0}". Choisissez dans "Configuration questionnaire"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment