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

Merge remote-tracking branch 'origin/OpenOLAT_14.1'

parents 794cd12a ab1b107e
No related branches found
No related tags found
No related merge requests found
...@@ -708,16 +708,26 @@ class GTANotifications { ...@@ -708,16 +708,26 @@ class GTANotifications {
solution.getName(), solution.getName(),
author author
}; };
appendSubscriptionItemForFile("notifications.solution.task", params, assessedIdentity, if(group != null) {
"[solution:0]" , solution, date, false); appendSubscriptionItemForFile("notifications.solution.task", params, group,
"[solution:0]", solution, date, false);
} else {
appendSubscriptionItemForFile("notifications.solution.task", params, assessedIdentity,
"[solution:0]" , solution, date, false);
}
} else { } else {
String[] params = new String[] { String[] params = new String[] {
displayName, displayName,
solution.getName(), solution.getName(),
author author
}; };
appendSubscriptionItemForFile("notifications.solution", params, assessedIdentity, if(group != null) {
"[solution:0]" , solution, date, false); appendSubscriptionItemForFile("notifications.solution", params, group,
"[solution:0]" , solution, date, false);
} else {
appendSubscriptionItemForFile("notifications.solution", params, assessedIdentity,
"[solution:0]" , solution, date, false);
}
} }
} }
} }
......
...@@ -25,7 +25,9 @@ import org.olat.basesecurity.model.OrganisationRefImpl; ...@@ -25,7 +25,9 @@ import org.olat.basesecurity.model.OrganisationRefImpl;
import org.olat.core.logging.Tracing; import org.olat.core.logging.Tracing;
import org.olat.core.util.StringHelper; import org.olat.core.util.StringHelper;
import org.olat.core.util.xml.XStreamHelper; import org.olat.core.util.xml.XStreamHelper;
import org.olat.modules.curriculum.CurriculumElementTypeRef;
import org.olat.modules.curriculum.model.CurriculumElementRefImpl; import org.olat.modules.curriculum.model.CurriculumElementRefImpl;
import org.olat.modules.curriculum.model.CurriculumElementTypeRefImpl;
import org.olat.modules.curriculum.model.CurriculumRefImpl; import org.olat.modules.curriculum.model.CurriculumRefImpl;
import org.olat.modules.quality.analysis.AnalysisSearchParameter; import org.olat.modules.quality.analysis.AnalysisSearchParameter;
import org.olat.modules.quality.analysis.GroupBy; import org.olat.modules.quality.analysis.GroupBy;
...@@ -53,7 +55,7 @@ public class AnalysisPresentationXStream { ...@@ -53,7 +55,7 @@ public class AnalysisPresentationXStream {
Class<?>[] types = new Class[] { Class<?>[] types = new Class[] {
MultiGroupBy.class, GroupBy.class, AnalysisSearchParameter.class, QualityDataCollectionRefImpl.class, MultiGroupBy.class, GroupBy.class, AnalysisSearchParameter.class, QualityDataCollectionRefImpl.class,
RepositoryEntryRefImpl.class, IdentityRefImpl.class, OrganisationRefImpl.class, CurriculumRefImpl.class, RepositoryEntryRefImpl.class, IdentityRefImpl.class, OrganisationRefImpl.class, CurriculumRefImpl.class,
CurriculumElementRefImpl.class, TaxonomyLevelRefImpl.class }; CurriculumElementRefImpl.class, CurriculumElementTypeRef.class, TaxonomyLevelRefImpl.class };
xstream.addPermission(new ExplicitTypePermission(types)); xstream.addPermission(new ExplicitTypePermission(types));
xstream.alias("multiGroupBy", MultiGroupBy.class); xstream.alias("multiGroupBy", MultiGroupBy.class);
xstream.alias("groupBy", GroupBy.class); xstream.alias("groupBy", GroupBy.class);
...@@ -64,6 +66,7 @@ public class AnalysisPresentationXStream { ...@@ -64,6 +66,7 @@ public class AnalysisPresentationXStream {
xstream.alias("OrganisationRef", OrganisationRefImpl.class); xstream.alias("OrganisationRef", OrganisationRefImpl.class);
xstream.alias("CurriculumRef", CurriculumRefImpl.class); xstream.alias("CurriculumRef", CurriculumRefImpl.class);
xstream.alias("CurriculumElementRef", CurriculumElementRefImpl.class); xstream.alias("CurriculumElementRef", CurriculumElementRefImpl.class);
xstream.alias("CurriculumElementTypeRef", CurriculumElementTypeRefImpl.class);
xstream.alias("TaxonomyLevelRef", TaxonomyLevelRefImpl.class); xstream.alias("TaxonomyLevelRef", TaxonomyLevelRefImpl.class);
} }
......
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