Add Hardware -> Machine with incomplete Power Type blocked without notification

Bug #1451580 reported by ubuntudotcom1 on 2015-05-04
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Richard McCartney

Bug Description

Attempting to complete the Add Hardware -> Machine dialog with incomplete information will prevent you from submitting the form (most likely the desired behavior), however no notification or message is given as to why the form submission is blocked (at least for some fields).

The following are examples of form errors without notification:

1: Specifying a power type but omitting various parameters for that power type (i.e. Selecting Wake-on-LAN without specifying a MAC address).

2: Attempting to add a machine without specifying a MAC address (i.e. leaving the form's MAC address field with its displayed default value of '00:00:00:00:00:00').

Also, it appears that the content of the "MAC address" field is displayed verbatim as a text label just above the 'Power type' label (regardless of field validation). For example, typing "The quick brown fox jumps over the lazy dog" in the MAC address field will display just that above the Power Type label.

tags: added: ui ux
Changed in maas:
status: New → Confirmed
importance: Undecided → High
Gavin Panella (allenap) on 2015-09-02
Changed in maas:
status: Confirmed → Triaged
tags: added: canonical-bootstack
Changed in maas:
milestone: none → 1.9.0
importance: High → Medium
Changed in maas:
assignee: nobody → Carla Berkers (carlaberkers)
Carla Berkers (carlaberkers) wrote :

see attached designs for error messages. the following interaction is desired:

on an individual formfield, there is instant validation when the user changes focus from one field to the other.
if the field is not filled in in the right way (for instant the MAC address that the user put in doesn't follow mac address convention), the fields gets a red outline.
note: this outline should not appear until after the user is done typing!!

then when a user tries to click the save button, the same validation on the field should take place and red outlines should appear around all fields that are not filled in, or that are filled in incorrectly.
in addition the read background and error message should appear.

Changed in maas:
assignee: Carla Berkers (carlaberkers) → nobody
assignee: nobody → Richard McCartney (ricgard)
Changed in maas:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers