MAAS OpenApi Schema cutoff variable names

Bug #2009140 reported by Jack Lloyd-Walters
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Medium
Jack Lloyd-Walters
3.3
Fix Released
Medium
Jack Lloyd-Walters

Bug Description

Generating human consumable names for the schema requires stripping characters (specifically '{' and '}') from parameter names.
There are at least two cases where this has been performed erroneously:
`power_parameters_{param1}` and `power_parameters_{param}`.

The trailing '}' is stripped, despite it not enclosing the entire variable name.

Related branches

Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
milestone: 3.3.x → 3.4.0
importance: Medium → High
importance: High → Medium
Alberto Donato (ack)
Changed in maas:
milestone: 3.4.0 → 3.4.0-beta1
Alberto Donato (ack)
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.

Other bug subscribers

Remote bug watches

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