Details
-
Bug
-
Resolution: Cannot Reproduce
-
Minor
-
None
-
1.0
-
None
-
None
-
XWiki Enterprise 1.7.1 new install into a Tomcat 6 container on Postgresql 8.3 on top of Ubuntu 8.10
-
blog ArticleClassSheet panel
-
Description
XWiki Enterprise 1.7.1 new install into a Tomcat container on Postgresql on top of Ubuntu 8.10, unmodified installation.
When viewing articles the article text is duplicated in the side panel. All other content is as expected.
Picture of problem: http://practicaluseful.com/side_panel_prob.png
The ArticleClassSheet contains:
#set($obj = "")
#set($obj = $doc.getObject("XWiki.ArticleClass"))
#if($obj == "")
#warning("This is not an article!")
#elseif($context.action!="inline")
$doc.display("content", "rendered", $obj)
{style}
## entry-content
{style:type=div|class=article_footer}#set($bcategories = $obj.getProperty("category").value)
Posted by #end#end #if($doc.date != $doc.creationDate) | Modified by | [Permalink>$doc.getURL(]{style}
## article_footer
{style} ## hentry{style}## hfeed
#else
<dl>
<dt>Title:</dt>
<dd>$doc.display("title", "edit", $obj)</dd>
<dt>Category:</dt>
<dd>$doc.display("category", "edit", $obj)</dd>
<dt>Content:</dt>
<dd>$doc.display("content", "edit", $obj)</dd>
<dt>Extract:</dt>
<dd>$doc.display("extract", "edit", $obj)</dd>
</dl>
#set($newtitle = $request.title)
#if($newtitle)
#set($newtitle = $newtitle.replaceAll('"',"'"))
var title = "${newtitle}";
{pre}document.forms.inline.value = title;
{/pre}#end
#end
Which looks to be right!