[2.5] Validation of SRV records raises incorrect exception for malformed records
Bug #1782409 reported by
Kit Randel
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Mike Pontillo |
Bug Description
Attempting to add a SRV DNS record results in the exception:
'NoneType' object has no attribute 'groupdict'
Related branches
~mpontillo/maas:fix-srv-record-validation--bug-1782409
Merged
into
maas:master
- Alberto Donato (community): Approve
- MAAS Lander: Approve
-
Diff: 30 lines (+5/-1)2 files modifiedsrc/maasserver/models/dnsdata.py (+1/-1)
src/maasserver/models/tests/test_dnsdata.py (+4/-0)
summary: |
- Adding a SRV DNS record crashes + [2.5.x] Adding a SRV DNS record crashes |
Changed in maas: | |
milestone: | none → 2.5.0 |
importance: | Undecided → Critical |
status: | Incomplete → Triaged |
summary: |
- [2.5.x] Adding a SRV DNS record crashes + [2.5] Adding a SRV DNS record crashes |
Changed in maas: | |
assignee: | nobody → Blake Rouse (blake-rouse) |
Changed in maas: | |
milestone: | 2.5.0 → 2.5.0alpha2 |
tags: | added: track |
Changed in maas: | |
milestone: | 2.5.0alpha2 → 2.5.0beta1 |
Changed in maas: | |
assignee: | Blake Rouse (blake-rouse) → Mike Pontillo (mpontillo) |
summary: |
- [2.5] Adding a SRV DNS record crashes + [2.5] Validation of SRV records raises for malformed records |
summary: |
- [2.5] Validation of SRV records raises for malformed records + [2.5] Validation of SRV records raises incorrect exception for malformed + records |
Changed in maas: | |
status: | Triaged → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Screenshot