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

OO-2980: expand the citation xml metadata if the user want to edit them

parent 80a3f405
No related branches found
No related tags found
No related merge requests found
/**
* <a href="http://www.openolat.org">
* OpenOLAT - Online Learning and Training</a><br>
* <p>
......@@ -112,6 +113,10 @@ public class CollectCitationMediaController extends FormBasicController implemen
businessPath = media.getBusinessPath();
mediaReference = media;
if(StringHelper.containsNonWhitespace(mediaReference.getMetadataXml())) {
citation = (CitationXml)MetadataXStream.get().fromXML(mediaReference.getMetadataXml());
}
List<Category> categoryList = portfolioService.getCategories(media);
for(Category category:categoryList) {
categories.put(category.getName(), category.getName());
......
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