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

Velocity macro evaluation exception caused by a NPE on the homepage of a workspace if it has no pretty name

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 4.3.1
    • 4.3
    • {Unused} Workspaces
    • None
    • Unknown
    • N/A
    • N/A

    Description

      This is not really observable in most cases, but it should be fixed, just in case you end up with a workspace (or template) that does not have the pretty name set.

      Basically, a call to $msg.get($key, $nullValuedVariable) throws a NPE.

      Maybe the $msg.get call should be a bit more permissive, but that`s another topic.

      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: