BugFix für MPA. Aus unbekannten Gründen wurde die ContentSection für ArticleSections nicht mehr korrekt gesetzt, was beim Aufruf eines MPA zu einer NPE führte

git-svn-id: https://svn.libreccm.org/ccm/trunk@2169 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2013-06-03 17:01:57 +00:00
parent c4bebd60e3
commit 4d8148da83
1 changed files with 1 additions and 1 deletions

View File

@ -357,11 +357,11 @@ public class SectionEditForm extends Form {
PageState state = event.getPageState();
FormData data = event.getFormData();
ArticleSection section = new ArticleSection();
section.setTitle((String)data.get(TITLE));
section.setName(article.getName() + ": " + (String)data.get(TITLE));
section.setContentSection(article.getContentSection());
return section;
}