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

Failure to create wiki from template

    Details

    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      The status.xml log for the wiki provisioning says:

              <level>ERROR</level>
              <message>Exception thrown during job execution</message>
              <throwable class="java.lang.StackOverflowError">
                <stackTrace>
                  <trace>org.xwiki.extension.AbstractExtension.getProperty(AbstractExtension.java:386)</trace>
                  <trace>org.xwiki.extension.repository.internal.installed.DefaultInstalledExtension.isInstalled(DefaultInstalledExtension.java:74)</trace>
                  <trace>org.xwiki.extension.repository.internal.installed.DefaultInstalledExtension.isInstalled(DefaultInstalledExtension.java:84)</trace>
                  <trace>org.xwiki.extension.repository.internal.installed.DefaultInstalledExtension.isInstalled(DefaultInstalledExtension.java:179)</trace>
                  <trace>org.xwiki.extension.xar.internal.handler.WikiEventListener.copyInstalledExtension(WikiEventListener.java:105)</trace>
                  <trace>org.xwiki.extension.xar.internal.handler.WikiEventListener.copyInstalledExtension(WikiEventListener.java:111)</trace>
                  <trace>org.xwiki.extension.xar.internal.handler.WikiEventListener.copyInstalledExtension(WikiEventListener.java:111)</trace>
                  <trace>org.xwiki.extension.xar.internal.handler.WikiEventListener.copyInstalledExtension(WikiEventListener.java:111)</trace>
                  <trace>org.xwiki.extension.xar.internal.handler.WikiEventListener.copyInstalledExtension(WikiEventListener.java:111)</trace>
                  <trace>org.xwiki.extension.xar.internal.handler.WikiEventListener.copyInstalledExtension(WikiEventListener.java:111)</trace>
                  <trace>org.xwiki.extension.xar.internal.handler.WikiEventListener.copyInstalledExtension(WikiEventListener.java:111)</trace>
                  <trace>org.xwiki.extension.xar.internal.handler.WikiEventListener.copyInstalledExtension(WikiEventListener.java:111)</trace>
      ...
      

      So this is an infinite loop...

      To reproduce:

      • download 5.4.2
      • create a template wiki, install an extension in it (I used the filemanager app)
      • go back to the main wiki and create a new wiki with this template wiki

      Note: I created all subwikis with local users only but I don't think it'll impact anything

        Attachments

          Activity

            People

            • Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              vmassol Vincent Massol
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

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