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

Velocity macro error in the Create New Workspace page if no workspace template exists

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.3
    • 4.3-milestone-2
    • {Unused} Workspaces
    • None
    • Unknown
    • N/A
    • N/A

    Description

      The code displays a picker for templates if there are more than one templates, otherwise just uses the only existing template in a hidden input. However, when there are no templates, you get an IndexOutOfBoundsException because of using the 0 index on an empty list of templates.

      Attachments

        Activity

          People

            enygma Eduard Moraru
            enygma Eduard Moraru
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: