XWiki Platform
  1. XWiki Platform
  2. XWIKI-7315

Wiki macros are not registered in workspaces


    • keywords:
      workspace wiki macro registration
    • Difficulty:
    • Similar issues:
      XWIKI-12736Register global wiki macro at wiki level when the macro document is in a subwiki
      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-5439Log too verbose when attempting to register wiki macros with insufficient privileges (for example at wiki startup)
      XWIKI-6176Copying a document containing a macro from a wiki to another does not register the macro in the destination wiki
      XWIKI-9558Deprecate {{workspaces /}} macro and introduce {{wikis /}}


      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.


        There are no comments yet on this issue.


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


            • Created: