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

Unable to uninstall globally installed extension from subwiki

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.2-milestone-2
    • Fix Version/s: 4.1.4, 4.2-milestone-3
    • Component/s: Extension
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      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

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

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response: