Node model allows blank hostnames
Bug #1578309 reported by
LaMont Jones
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Medium
|
LaMont Jones |
Bug Description
The Node mode allows blank names, and then provides a function to set them to something random (which the form then calls.)
This should be moved into the node save() function, for model purity.
Related branches
lp:~lamont/maas/node-fqdn
- Mike Pontillo (community): Approve
- Brendan Donegan (community): Needs Information
-
Diff: 77 lines (+16/-9)4 files modifiedsrc/maasserver/forms.py (+3/-8)
src/maasserver/models/node.py (+8/-0)
src/maasserver/models/staticipaddress.py (+1/-1)
src/maasserver/models/tests/test_node.py (+4/-0)
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → LaMont Jones (lamont) |
milestone: | none → 2.0.0 |
Changed in maas: | |
status: | Triaged → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.