[UI, 2.3] Editing a custom repository doesn't allow you to modify distribution, component.

Bug #1743776 reported by Andres Rodriguez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Invalid
High
Alberto Donato
2.3
Invalid
High
Alberto Donato

Bug Description

I added a custom package repository that included a custom distribution and component. However, when I went to edit it, it did not show the boxes to edit the distribution or the component.

See the screenshots below for adding vs editing.

Revision history for this message
Andres Rodriguez (andreserl) wrote :
Revision history for this message
Andres Rodriguez (andreserl) wrote :
Changed in maas:
milestone: none → 2.4.0alpha1
importance: Undecided → High
status: New → Triaged
summary: - [2.3, 2.4] Editing a custom repository doesn't allow you to modify
+ [UI, 2.3] Editing a custom repository doesn't allow you to modify
distribution, component.
Alberto Donato (ack)
Changed in maas:
assignee: nobody → Alberto Donato (ack)
Revision history for this message
Alberto Donato (ack) wrote :

Did you by chance replace a ppa: url with a repository one?

If the repo is a PPA, you can't edit components. For standard repositories, edit also allows changing distributions and components

Alberto Donato (ack)
Changed in maas:
status: Triaged → Invalid
Revision history for this message
Andres Rodriguez (andreserl) wrote :

This is just a custom repository, but used a PPA as an example (i was testing something else that lead me to this bug report).

Revision history for this message
Alberto Donato (ack) wrote :

So the interface for adding/editing PPAs and custom repos is the same, but for PPAs we don't allow setting components and distributions, since the component is always "main" and distribution is matched with the one being deployed.

When editing, a repo is considered a PPA (thus not showing the extra fields) if the urls starts with "ppa:" or the host is ppa.launchpad.net.

From your screenshots, you're hitting the second case.

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.