Uploaded image for project: 'XWiki Rendering'
  1. XWiki Rendering
  2. XRENDERING-464

Page in syntax 1.0 containing code for Comments/History/Attachment/Information sections is not properly converted

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • None
    • None
    • None

    Description

      Steps to reproduce:

      • Import a page in syntax 1.0 containing the following code:
        #set ($showcomments="no")
        #set ($showattachments = "no")
        #set ($showhistory="no")
        #set ($showinformation = "no")
        
      • Convert the page to 2.1
        Result:
        {{velocity filter="none"}}
        {{html clean="false" wiki="true"}}
        #set ($showcomments="no")
        #set ($showattachments = "no")
        #set ($showhistory="no")
        #set ($showinformation = "no")
        
        {{/html}}
        {{/velocity}}
        

        Expected result: the variables need to be false to properly hide the sections (see http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting#HControllingWhichSectionstoDisplay).

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            oana.tabaranu Elena-Oana Florea
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: