[websocket-api] User first_name is unused and should not be returned

Bug #1853579 reported by Caleb Ellis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Low
Blake Rouse

Bug Description

In the new UI we've rebuilt the add/edit user forms. The user model has a `first_name` param, however it doesn't update in the database when a new value is passed through the websocket. In the old angular forms the "Full name" field was simply showing and editing the `last_name` parameter, which updates correctly.

Do we implement it the same way for the React version? i.e. just ignore the `first_name` param? Or is this an actual bug in the websocket handler?

Related branches

Revision history for this message
Blake Rouse (blake-rouse) wrote :

Correct only the last_name should be used for viewing and for editing. `first_name` should not actually be shown on the Websocket.

summary: - [websocket-api] user first_name does not save
+ [websocket-api] User first_name is unused and should be returned
Changed in maas:
status: New → In Progress
importance: Undecided → Low
assignee: nobody → Blake Rouse (blake-rouse)
milestone: none → 2.7.0alpha1
summary: - [websocket-api] User first_name is unused and should be returned
+ [websocket-api] User first_name is unused and should not be returned
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.