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-94f89814c4dfmaster
parent
c4bebd60e3
commit
4d8148da83
|
|
@ -357,11 +357,11 @@ public class SectionEditForm extends Form {
|
||||||
PageState state = event.getPageState();
|
PageState state = event.getPageState();
|
||||||
FormData data = event.getFormData();
|
FormData data = event.getFormData();
|
||||||
|
|
||||||
|
|
||||||
ArticleSection section = new ArticleSection();
|
ArticleSection section = new ArticleSection();
|
||||||
|
|
||||||
section.setTitle((String)data.get(TITLE));
|
section.setTitle((String)data.get(TITLE));
|
||||||
section.setName(article.getName() + ": " + (String)data.get(TITLE));
|
section.setName(article.getName() + ": " + (String)data.get(TITLE));
|
||||||
|
section.setContentSection(article.getContentSection());
|
||||||
|
|
||||||
return section;
|
return section;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue