[2.1 API PackageRepositories] API doesn't provide arches validation at all allowing any name to be saved

Bug #1613704 reported by Andres Rodriguez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Critical
Jeffrey C Jones

Bug Description

I did the following:

 maas admin package-repository update 3 arches=amd64,i386

And it saved as:

    "arches": [
        "amd64,i386"
    ],

Related branches

Changed in maas:
milestone: none → 2.1.0
assignee: nobody → Jeffrey C Jones (trapnine)
Changed in maas:
milestone: 2.0.1 → none
milestone: none → 2.1.0
summary: - [2.1 API PackageRepositories] API is incorrectly saving arches as a
- single string instead of separating them into a list
+ [2.1 API PackageRepositories] API doesn't provide arches validation at
+ all allowing any name to be saved
Changed in maas:
importance: Undecided → Critical
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.
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.