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

Database tree fails to display if item's title, value or parent contains a double quote

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.2 M3
    • 2.0
    • Old Core
    • None
    • Unknown

    Description

      In treeview.vm :

               addTreeElement(tree, nodes, "$item.id", "$title_item", "$item.parent", #if($checked) true #else false #end)
      

      a double quote in any of the field will make the JS fail

      Attachments

        Activity

          People

            sdumitriu Sergiu Dumitriu
            jerome Jerome Velociter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: