Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-1029

#stop directive not working in 8.0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 8.0
    • Fix Version/s: None
    • Component/s: Component
    • Labels:
      None
    • Similar issues:

      Description

      #stop directive no longer works. the following throws an exception

      #set ($isSheet = $doc.getObject('XWiki.SheetDescriptorClass'))
      #if ($isSheet)
        {{info}}This page is not meant to be viewed directly{{/info}}
        #stop
      #end
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              dullfig Daniel Ullfig
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: