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

Distribution Wizard steps can be disabled too early

    XMLWordPrintable

Details

    • Integration
    • Unknown
    • N/A
    • N/A

    Description

      Steps are "prepared" twice:

      • during the DW init
      • when reaching the step

      The goal of this preparation is to disable the step when there is nothing to do, but in some cases you might have nothing to do at init but suddenly do after the execution of some previous step.

      A good example is the orphaned dependencies step which often have something to do only after the execution of the flavor step, but it was not noticed before because of XWIKI-20111 (which was causing XWiki to identify as orphaned an extension that was not).

      The point of the "during the DW init" is to know if there is something to do in any of the step (and if not don't show the DW at all). But instead of preparing all the steps we should prepare them one by one and stop as soon as a step reports that there is indeed something to do.

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: