Skip to content
Snippets Groups Projects
Commit ab1b107e authored by uhensler's avatar uhensler
Browse files

OO-4355: Avoid RS when open a saved presentation with a filter of "Type of curriculum element"

parent 174bc989
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,9 @@ import org.olat.basesecurity.model.OrganisationRefImpl;
import org.olat.core.logging.Tracing;
import org.olat.core.util.StringHelper;
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.CurriculumElementTypeRefImpl;
import org.olat.modules.curriculum.model.CurriculumRefImpl;
import org.olat.modules.quality.analysis.AnalysisSearchParameter;
import org.olat.modules.quality.analysis.GroupBy;
......@@ -53,7 +55,7 @@ public class AnalysisPresentationXStream {
Class<?>[] types = new Class[] {
MultiGroupBy.class, GroupBy.class, AnalysisSearchParameter.class, QualityDataCollectionRefImpl.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.alias("multiGroupBy", MultiGroupBy.class);
xstream.alias("groupBy", GroupBy.class);
......@@ -64,6 +66,7 @@ public class AnalysisPresentationXStream {
xstream.alias("OrganisationRef", OrganisationRefImpl.class);
xstream.alias("CurriculumRef", CurriculumRefImpl.class);
xstream.alias("CurriculumElementRef", CurriculumElementRefImpl.class);
xstream.alias("CurriculumElementTypeRef", CurriculumElementTypeRefImpl.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