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

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 4.3
    • Fix Version/s: 4.3.1
    • Component/s: {Unused} Workspaces
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      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.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Eduard Moraru
            Reporter:
            Eduard Moraru
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: