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

Failed to create wiki component(s) during default XAR import

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 4.3.1
    • Fix Version/s: 4.4.1
    • Component/s: Component, Old Core
    • Labels:
      None
    • Environment:
      Tomcat7, Mysql5.5, Java7
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      While importing the default xwiki-enterprise-ui-all-4.3.1.xar on a fresh install with an empty database (using the new security authentication manager component but not sure it is related), I get the following errors:

      Logged errors
      WARN  iComponentManagerEventListener - Failed to create wiki component(s) for document [Dashboard.WebHome]: Registering UI extensions requires admin rights 
      WARN  iComponentManagerEventListener - Failed to create wiki component(s) for document [AppWithinMinutes.LiveTableTemplate]: Registering UI extensions requires admin rights 
      WARN  iComponentManagerEventListener - Failed to create wiki component(s) for document [AppWithinMinutes.ApplicationsPanelEntry]: Registering UI extensions requires admin rights 
      WARN  iComponentManagerEventListener - Failed to create wiki component(s) for document [Blog.ApplicationsPanelEntry]: Registering UI extensions requires admin rights 
      WARN  iComponentManagerEventListener - Failed to create wiki component(s) for document [XWiki.AddExtensions]: Registering UI extensions requires admin rights 
      WARN  iComponentManagerEventListener - Failed to create wiki component(s) for document [Main.UserDirectory]: Registering UI extensions requires admin rights
      

      Step to reproduce ([] means not sure this is closely related to this issue):

      1. deploy a fresh xwiki-enterprise-web-4.3.1.war [configured for mysql]
      2. [configure {{xwiki.authentication.rightsclass=org.xwiki.security.authorization.internal.XWikiCachingRightService}} and {{xwiki.superadminpassword=whateveryouwant}}]
      3. [create an empty database]
      4. start the instance
      5. [if using the new rightsclass, login as superadmin]
      6. skip the Distribution Wizard
      7. import the default xwiki-enterprise-ui-all-4.3.1.xar

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jvdrean Jean-Vincent Drean
                Reporter:
                softec Denis Gervalle
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: