Misleading message on project create

Bug #1445055 reported by Dimitri Mazmanov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Low
Dimitri Mazmanov

Bug Description

<<Just trying to improve user experience.>>

Use case:

Admin creates a new project/tenant with the same name as one of the existing projects.
An error message pops up saying: "Error: Unable to create project 'test'." It's not clear why the operation failed.
It would be much better to show something like "Error: Unable to create project
'test': a project with this name already exists. Please choose a different name.".

Ideally this should also be checked before submitting the project create form.

Revision history for this message
Rob Cresswell (robcresswell-deactivatedaccount) wrote :

This is really covered by the blanket poor handling of errors within Horizon

tags: added: error-reporting
Changed in horizon:
importance: Undecided → Low
Revision history for this message
Dimitri Mazmanov (sorantis) wrote :

I could help with this. Got fixes ready to commit.

Changed in horizon:
assignee: nobody → Dimitri Mazmanov (sorantis)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/175096

Changed in horizon:
status: New → In Progress
Changed in horizon:
milestone: none → liberty-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/175096
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=894e4d38246f3c7630db7898f1a8fd36aba31199
Submitter: Jenkins
Branch: master

commit 894e4d38246f3c7630db7898f1a8fd36aba31199
Author: Dimitri Mazmanov <email address hidden>
Date: Sat Apr 18 02:59:05 2015 +0200

    Fix error message on project create

    Added a concrete project name validation error in case
    a project with such name already exists.

    Change-Id: I089970cfa5d512469c3f73987e21d4c7cbadc04c
    Closes-Bug: #1445055

Changed in horizon:
status: In Progress → Fix Committed
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: liberty-1 → 8.0.0
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.