[2.6b6 UI] Adding a SPACE with an optional name ends up with a new space with automatically assigned name
Bug #1589595 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 spaces on the UI, noticed that spaces 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 space via the API/CLI.
[Reproduce]
1. Go to networks page.
2. Add Space.
3. Specify an optional name ('optional-space')
[Actual Output]
You'll see a space is added with name 'space-X' instead of the name I specified in the optional name field ('optional-space')
[Expected Output]
I expected to see a space added with name 'optional-space'
Related branches
lp:~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: | |
importance: | Undecided → Critical |
Changed in maas: | |
milestone: | none → 2.0.0 |
summary: |
- [2.6b6 UI] Adding a fabric with an optional name ends up with a new - space with automatically assigned name + [2.6b6 UI] Adding a SPACE with an optional name ends up with a new space + with automatically assigned name |
Changed in maas: | |
assignee: | nobody → Blake Rouse (blake-rouse) |
status: | New → Triaged |
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.