[2.6b6 UI] Adding a fabric with an optional name ends up with a new fabric with automatically assigned name
Bug #1589560 reported by
Andres Rodriguez
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Blake Rouse |
Bug Description
[Description]
While trying to add fabrics on the UI, noticed that fabrics end up having the name automatically assigned by MAAS, rather than the optional name I provided. This doesn't seem to be the case if I add the fabric via the API/CLI.
[Reproduce]
1. Go to networks page.
2. Add a Fabric.
3. Specify an optional name ('optional-fabric')
[Actual Output]
You'll see a fabric is added with name 'fabric-X' instead of the name I specified in the optional name field ('optional-fabric')
[Expected Output]
I expected to see a fabric added with name 'optional-fabric'
Related branches
lp://staging/~blake-rouse/maas/fix-networking-add-ui
- Mike Pontillo (community): Approve
-
Diff: 1825 lines (+544/-973)14 files modifiedsrc/maasserver/static/css/maas-styles.css (+1/-1)
src/maasserver/static/js/angular/controllers/networks_list.js (+60/-153)
src/maasserver/static/js/angular/controllers/tests/test_networks_list.js (+298/-224)
src/maasserver/static/js/angular/directives/maas_obj_form.js (+13/-5)
src/maasserver/static/js/angular/directives/model_field.js (+0/-159)
src/maasserver/static/js/angular/directives/tests/test_maas_obj_form.js (+37/-1)
src/maasserver/static/js/angular/directives/tests/test_model_field.js (+0/-331)
src/maasserver/static/partials/networks-list.html (+88/-89)
src/maasserver/static/partials/space-details.html (+2/-2)
src/maasserver/static/partials/subnet-details.html (+8/-6)
src/maasserver/static/scss/maas/components/_forms.scss (+4/-1)
src/maasserver/views/combo.py (+0/-1)
src/maasserver/websockets/handlers/tests/test_vlan.py (+20/-0)
src/maasserver/websockets/handlers/vlan.py (+13/-0)
Changed in maas: | |
milestone: | none → 2.0.0 |
Changed in maas: | |
importance: | Undecided → Critical |
Changed in maas: | |
status: | New → Triaged |
assignee: | nobody → Blake Rouse (blake-rouse) |
Changed in maas: | |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.