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

Unable to uninstall globally installed extension from subwiki

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.1.4, 4.2-milestone-3
    • 4.2-milestone-2
    • Extension
    • None
    • Unknown
    • N/A
    • N/A

    Description

      Steps to reproduce:

      • create a XEM, install workspaces, create a workspace. Put Admin as the Administrator of that workspace
      • from the Main/ Global wiki, install an extension (I used Contrib Jira Macro) on all farm
      • proof of instalation in the workspace
        Importing document [sorinello:Macro.JiraMacro] in language [en]...
        Successfully imported document [sorinello:Macro.JiraMacro] in language [en]
        
      • go to the workspace, and uninstall the extension.

      You will get an error

          Extension [org.xwiki.contrib:macro-jira-1.2] is not installed from namespace [wiki:sorinello]
          class org.xwiki.extension.UninstallException: Failed to uninstall extension at org.xwiki.extension.job.internal.UninstallPlanJob.uninstallExtension(UninstallPlanJob.java:178) at org.xwiki.extension.job.internal.UninstallPlanJob.uninstallExtension(UninstallPlanJob.java:150) at org.xwiki.extension.job.internal.UninstallPlanJob.start(UninstallPlanJob.java:124) at org.xwiki.job.AbstractJob.start(AbstractJob.java:134) at org.xwiki.job.internal.DefaultJobManager.run(DefaultJobManager.java:156) at java.lang.Thread.run(Thread.java:679) Caused by: class org.xwiki.extension.UninstallException: Extension [org.xwiki.contrib:macro-jira-1.2] is not installed from namespace [wiki:sorinello] at org.xwiki.extension.job.internal.UninstallPlanJob.uninstallExtension(UninstallPlanJob.java:222) at org.xwiki.extension.job.internal.UninstallPlanJob.uninstallExtension(UninstallPlanJob.java:176) at org.xwiki.extension.job.internal.UninstallPlanJob.uninstallExtension(UninstallPlanJob.java:150) at org.xwiki.extension.job.internal.UninstallPlanJob.start(UninstallPlanJob.java:124) at org.xwiki.job.AbstractJob.start(AbstractJob.java:134) at org.xwiki.job.internal.DefaultJobManager.run(DefaultJobManager.java:156) at java.lang.Thread.run(Thread.java:679) 
      

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            sorinello Sorin Burjan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: