[2.5] "dnsresources read all=true" does not return synthetic records unless at least one non-synthetic record exists

Bug #1791383 reported by Mike Pontillo
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Mike Pontillo

Bug Description

When using the "dnsresources read" API endpoint with the "all=true" parameter in order to show synthetic records in addition to concrete records, (due to essentially an off-by-one error) the endpoint does not return any results unless at least one concrete record is defined.

Tags: track

Related branches

Changed in maas:
milestone: none → 2.5.0beta1
Changed in maas:
status: Triaged → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.