XWiki Platform
  1. XWiki Platform
  2. XWIKI-7315

Wiki macros are not registered in workspaces

    Details

    • keywords:
      workspace wiki macro registration
    • Difficulty:
      Unknown
    • Similar issues:
      XWIKI-7318Importing a XAR fails to register Macros in a cluster of wikis
      XWIKI-10958Wiki macros initializer should register macros only for current wiki at init
      XWIKI-9697The Wiki (was: Workspaces) Search Suggestion is missing
      XWIKI-7960MessageSender macro does not suggest global users in a workspace
      XWIKI-7353Fix workspace issues related to the fact that the local Admin is missing
      XWIKI-6185In some conditions wiki macro with user visibility are not registered with the proper user
      XWIKI-6176Copying a document containing a macro from a wiki to another does not register the macro in the destination wiki
      XWIKI-5439Log too verbose when attempting to register wiki macros with insufficient privileges (for example at wiki startup)
      XWIKI-9558Deprecate {{workspaces /}} macro and introduce {{wikis /}}
      XWIKI-7845When starting in readonly mode, none of the wiki macros are registered

      Description

      When creating the workspace template, the wiki macros are not correctly registered. This makes all the workspaces that are later on created using the template to also have unregistered macros.

      This is caused by the fact that the default XE xar used as base template has specified as author "XWiki.Admin" for the wiki macros, but the local admin in a workspace does not exist. This causes the macros to not have enough privileges and not be able to register.

      A simple workaround is to resave the problematic WikiMacro documents with a user that has admin rights in the problematic workspaces and also in the workspace template.

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: