CLI should check that -a and -r items are formatted properly

Bug #1274599 reported by Chris Johnston
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu CI Engine
Fix Released
High
Chris Johnston
Ubuntu CI Services
Fix Released
High
Chris Johnston

Bug Description

If it doesn't do this check, the TS returns a 500 error when trying to
create a ticket. That returns a horrible error to the user:

ubuntu-ci ERROR Cannot reach the server at
http://dev.chrisjohnston.org:8000. Please, check your configuration file
(/home/chris/.ubuntu-ci): is 'ci_url' correctly set? Is the server
accessible from this machine? (INTERNAL SERVER ERROR).

We should probably check the -a and -r's and make sure they are valid in
the CLI before shipping them to the TS and print a proper error if not.

 affects ubuntu-ci-services-itself

Tags: airline

Related branches

tags: added: airline
Evan (ev)
Changed in ubuntu-ci-services-itself:
assignee: nobody → Chris Johnston (cjohnston)
Changed in ubuntu-ci-services-itself:
milestone: none → phase-0
importance: Undecided → High
status: New → In Progress
Changed in ubuntu-ci-services-itself:
status: In Progress → Fix Committed
Changed in ubuntu-ci-services-itself:
status: Fix Committed → Fix Released
Ursula Junque (ursinha)
Changed in uci-engine:
assignee: nobody → Chris Johnston (cjohnston)
importance: Undecided → High
milestone: none → phase-0
status: New → 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.