Issue Type: Bug Bug
Affects Versions: 4.5.8
Assignee: Unassigned
Components: rendering, taglibs
Created: 03/Jun/13 10:52 PM
Description:

PropertyUtil.class - line 347

return node.getProperty(name).getString();

Should it not be instead:

return node.getProperty(name).getValue().getString();

Notes: When using the form module I had (for some customization reasons) to change the value of "form" component's "renderType" node from "freemarker" to "stk". When doing so, the email sent out then appeared with HTML tags. I soon found out that implementing my own "SendContactEMailProcessor" class and change PropertyUtil.getString(content, "contactMailBody", PropertyUtil.getString(content, "contentType"+contentType)); for content.getProperty("contentType"+contentType).getValue().getString(); would fix my issue. In short, the issue came from the implementation of PropertyUtil.getString().

Project: Magnolia
Labels: apiteam
Priority: Neutral Neutral
Reporter: adrien beber
Security Level: Public
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to