Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-210

Confusing log when uninstalling an extension that has dependencies

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1
    • Fix Version/s: 4.1.3, 4.2-milestone-1
    • Component/s: Extension
    • Labels:
      None
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Create two XAR extensions, A and B, make B a dependency of A. Install A. B will be automatically installed. Uninstall A. You'll see the following log:

      [info] Applying UNINSTALL for extension [a-xar-extension-1.0]
      [warn] Extension [a-xar-extension-1.0] was not regisistered as backward dependency of [b-xar-extension-1.0]
      [info] Successfully applied UNINSTALL for extension [a-xar-extension-1.0]
      

      The second log message is confusing. The message also contains a typo.

        Attachments

          Activity

            People

            • Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              mflorea Marius Dumitru Florea
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: