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

setDisplayMode for displaying XProperties doesn't work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Minor
    • None
    • 3.0 M2
    • Old Core
    • Unknown

    Description

      To reproduce:

      • Go to the Admin user page
      • Edit the content in wiki mode and add
        {{velocity}}$xcontext.setDisplayMode('edit'){{/velocity}}
      • Save
      • Check the result (see attached screenshot)

      Attachments

        Activity

          People

            msmeria Manuel Smeria
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: