[2.1, FUJ] There is no validation for the Custom URL format in the Ubuntu section
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
Low
|
Unassigned |
Bug Description
MAAS bzr5400
[FUJ] There is no validation for the format when the users adds a URL of a Custom source in Ubuntu section.
Bug description:
* Current result:
Given I am in the Custom source of the Ubuntu section in the first use journey
When I am adding a URL with an invalid format in the Mirror URL input field
Then I can click connect, even if the Mirror URL is random text
* Expected/ correct result:
Given I am in the Custom source of the Ubuntu section in the first use journey
When I am adding a URL with an invalid format in the Mirror URL input field
Then I can see a validation error "invalid input" under the input field
And the Connect button should be disabled if the input format is invalid.
[OS X Sierra]
[Chrome, 53.0.2785.116 (64-bit)]
Changed in maas: | |
milestone: | 2.1.0 → 2.1.1 |
Changed in maas: | |
milestone: | 2.1.1 → 2.1.2 |
Changed in maas: | |
milestone: | 2.1.2 → 2.1.3 |
Technically we do not try to validate the URL as it can also be a file path or anything that simplestreams can use to contact the source. So when you enter something invalid it will say that the source provides no "Ubuntu images", which is correct even if the URL is not valid.