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

Allow Extension Manager to provide ability during installation of extension also to install critical dependencies

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 15.10
    • Extension
    • None
    • Unknown

    Description

      At present, the XWiki Extension Manager does not have an advanced function for installing a new extension. A powerful (and undesirable for an unskilled XWiki user) functionality is still the deletion of an extension because during it, the user who triggered this operation first sees all the info about the dependencies that depend on the presence of this extension. As a result of the next deleting step, these dependencies may or may not be deleted - however, this is unlikely because the user must deselect pages, the number of which can be both considerable and small compared to the number of impacted dependencies.

      Disclaimer: I do not use a specific example because it is not recommended. For repeating the process by a normal user can cause serious malfunction of the XWiki instance.

      In the usual cases, the dependencies are also deleted after finished deletion of the extension. Their absence (dependencies) may cause problems that the user will notice later or never.

      By viewing the history of the Extension Manager, the XWiki administrator will be able to find a record of which extension was recently deleted. And install it again either online or offline. However, during installation, a scan for the presence of extension objects (components) will occur, and dependencies that depend on the existence of this extension will not be offered for installation.

      The administrator can detect missing necessary dependencies (other extensions) by viewing the Core Extensions tab. With subsequent manual installation of the required version.

      From my point of view, installation is the opposite of deletion, so if something was deleted with something, The same should be displayed when installing the same extension. The extension manager should scan not only for extension components but also for dependencies that depend on that or another extension. The result of this scan should be - the ability to install dependencies.

      Attachments

        Activity

          People

            Unassigned Unassigned
            npetrenko Nikita Petrenko
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: