[
http://jira.magnolia-cms.com/browse/MAGNOLIA-2885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=24424#action_24424
]
Zdenek Skodik commented on MAGNOLIA-2885:
-----------------------------------------
looks like related to
[MAGNOLIA-2811|http://jira.magnolia-cms.com/browse/MAGNOLIA-2811] which was
fixed with
-
{code}
if(StringUtils.isNotEmpty(this.nodeName)){
try {
if (localContentNode.hasContent(this.nodeName)) {
localContentNode =
localContentNode.getContent(this.nodeName);
} else {
localContentNode = null;
}
} catch (Exception e) {
// TODO: handle exception
}
{code}
> editBar: if a non-existing singleton paragraph is edited, the newly created
> paragraph will be placed as a sibling of the page
> -----------------------------------------------------------------------------------------------------------------------------
>
> Key: MAGNOLIA-2885
> URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-2885
> Project: Magnolia
> Issue Type: Bug
> Components: taglibs
> Affects Versions: 4.1.1
> Reporter: Philipp Bärfuss
> Assignee: Fabrizio Giustina
> Attachments: pastedGraphic.tiff
>
>
> Quote from a mail written by Giancarlo
> {quote}
> If I use the "editBar" to do a "Singleton Paragraph" it does not work, since
> the contentNodeName is added as a sibling of the web page, and not as a
> paragraph (or paragraph list/paragraph).
> As an example:
> <cms:editBar contentNodeName="titleTextParagraph"
> paragraph="titleText"/>
> <cms:includeTemplate contentNodeName="titleTextParagraph"/>
> I created the web page "myFirstDialogParagraph" and you see that the
> paragraph is now a sibling.
> {quote}
> see !pastedGraphic.tiff!
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------