Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-12021

Bad display of TextArea property content in a livetable

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Major
    • None
    • 6.4
    • None
    • None
    • Unknown

    Description

      Steps to reproduce:

      • create a class "XWiki.TestTextAreaClass" containing a TextArea property named "description"
      • create a page and attach an object of type "XWiki.TestTextAreaClass"
      • edit the page and add the following content in the "Description" field
      The LESS module has 4 main components:
      
      * LESSCompiler provides the LESS preprocessor for generating CSS.
      * LESSSkinFileCompiler provides a LESS preprocessor for generating CSS files from LESS sources located in the current skin directory.
      * LESSSkinFileCache caches the already computed LESS files contained by the skin.
      * LESSColorThemeConverter parses a LESS skin file and returns a Color Theme.
      
      • create a wiki page which displays a livetable with all the entries for the class "XWiki.TestTextAreaClass":
      {{velocity}}
      #set($columns = ["doc.title", "description"])
      #set($columnsProperties = {
            "doc.title" : {"type" : "text", "link" : "view"},
            "description" : {"type" : "text"},   
            "doc.creationDate" : {"type" : "text"},
            "doc.author" : {"type" : "text", "link": "field"}
          })
      #set($options = {
            "className" : "XWiki.TestTextAreaClass",
            "selectedColumn" : "doc.title",
            "translationPrefix" : "xe.livetable."
          })
      
      #livetable("itemslist" $columns $columnsProperties $options)
      {{/velocity}}
      

      What the livetable displays is:

      <p>The LESS module has 4 main components:</p><ul><li>LESSCompiler provides the LESS preprocessor for generating CSS.</li><li>LESSSkinFileCompiler provides a LESS preprocessor for generating CSS files from LESS sources located in the current skin directory.</li><li>LESSSkinFileCache caches the already computed LESS files contained by the skin.</li><li>LESSColorThemeConverter parses a LESS skin file and returns a Color Theme.</li></ul>
      

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            raluca.moisa Raluca Moisa
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: