[ 
http://jira.magnolia.info/browse/MAGNOLIA-2382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gregory Joseph reopened MAGNOLIA-2382:
--------------------------------------


Doesn't work for paragraphs yet, as they're not instanciated using "recursive" 
content2bean. This patch is possibly sufficient, please review: {code}
Index: 
magnolia-core/src/main/java/info/magnolia/cms/beans/config/ParagraphManager.java
===================================================================
--- 
magnolia-core/src/main/java/info/magnolia/cms/beans/config/ParagraphManager.java
    (revision 19061)
+++ 
magnolia-core/src/main/java/info/magnolia/cms/beans/config/ParagraphManager.java
    (working copy)
@@ -119,7 +119,7 @@
      */
     protected void addParagraphToCache(Content c) {
         try {
-            final Paragraph p = (Paragraph) Content2BeanUtil.toBean(c, 
Paragraph.class);
+            final Paragraph p = (Paragraph) Content2BeanUtil.toBean(c, true, 
Paragraph.class);
             addParagraphToCache(p);
         }
         catch (Content2BeanException e) {
{code}

> templates and paragraphs can have arbitrary parameters
> ------------------------------------------------------
>
>                 Key: MAGNOLIA-2382
>                 URL: http://jira.magnolia.info/browse/MAGNOLIA-2382
>             Project: Magnolia
>          Issue Type: Improvement
>            Reporter: Philipp Bracher
>            Assignee: Philipp Bracher
>             Fix For: 3.7
>
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------

Reply via email to