Cross-plugin display restrictions for some plugins prevent Settings tab from opening
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
Medium
|
Fuel Plugins Bugs |
Bug Description
The following plugins have display restrictions due to their dependencies on other plugins:
- fuel-plugin-
- fuel-plugin-
- fuel-plugin-
- fuel-plugin-
Currently display restriction for these plugins is defined in a way that will prevent Settings tab from rendering, if the corresponding plugin-dependecy is not already installed.
Steps to reproduce:
1 On Fuel master install a plugin (from the above mentioned list), but not install the dependency
2 In Fuel UI create an environment, navigate to Settings tab
Expected result: Settings tab is opened, on Other section the plugin is displayed as disabled (plugin selection checkbox is inactive) and has a yellow triangle with a pop-up warning
Actual result: Settings tab is not rendered, the following js error can be observed via browser devtools "Uncaught TypeError: Value of settings:
=========
The RC is likely that the condition restriction (defined in environment_
restrictions:
- condition: "settings:
message: "Detach Database plugin should be installed and enabled."
However the following condition works well (and this is how it is documented in Fuel plugins wiki):
restrictions:
- condition: "settings:
strict: false
message: "Detach Database plugin should be installed and enabled."
description: | updated |
Changed in fuel: | |
status: | Fix Committed → Fix Released |
Which MOS release is this bug about?