Details
-
Bug
-
Resolution: Fixed
-
Major
-
7.1-rc-1
-
None
-
Unknown
-
N/A
-
N/A
-
Description
Steps to reproduce
- Start the Distribution Wizard on a wiki with no flavor, or with an invalid flavor, so that the flavor step displays the flavor picker
- Look at the "Install this flavor" button as soon as the step is displayed, before selecting a flavor
Expected results
The button is disabled as long as no flavor is selected.
Actual results
The button can be enabled for a while with no flavor selected. It gets disabled only once the flavor picker has received its first list of flavors from the server. Clicking it in the meantime just displays the step again.
The button is rendered enabled, and the step script disables it only when the flavor picker notifies an update, which happens asynchronously (jQuery is loaded through RequireJS and the flavors through AJAX).
Impact on the tests
This makes Upgrade84Test#upgrade and Upgrade84FileStoreTest#upgrade fail from time to time on assertFalse(flavorPicker.isInstallFlavorEnabled()) in UpgradeTest.flavorStepKnownInvalidUpgrade. Seen on CI on master (2026-06-30), stable-18.4.x (2026-06-29) and stable-17.10.x (2026-10-20).
Attachments
Issue Links
- relates to
-
XWIKI-24282 Upgrade84FileStoreTest#upgrade is flickering
-
- Open
-