Uploaded image for project: '{RETIRED} XWiki Blog Application'
  1. {RETIRED} XWiki Blog Application
  2. XABLOG-16

The blog text appears in the side panel

    XMLWordPrintable

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")

      {style:type=div|class=hfeed}{style:type=div|class=hentry}<h2 class="entry-title">$doc.display("title","view", $obj)</h2> {style:type=div|class=article_content entry-content}
      $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!

      Attachments

        Activity

          People

            sdumitriu Sergiu Dumitriu
            gorak Jamie Thom
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: