← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1822924] Re: Incorrect Error message When user tries to create an extra spec with Key name "#^&*" under Volume Type Panel

 

Reviewed:  https://review.opendev.org/649491
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=35b20d0a184cc093e489803eecf84619f97122b3
Submitter: Zuul
Branch:    master

commit 35b20d0a184cc093e489803eecf84619f97122b3
Author: pengyuesheng <pengyuesheng@xxxxxxxxxxxxx>
Date:   Wed Apr 3 10:04:57 2019 +0800

    Correct error messages of Create Extra Spec Form under Volume Type Panel
    
    When there is more than one Extra Specs in Volume Type Extra Specs,
    then create an Extra spec with an invalid key name like "#^&*",
    the form prompts a wrong error message.
    This patch corrects the error message.
    
    Change-Id: I5ecdbb37953e95b302a254748cfc2a6a615c7d4b
    Closes-Bug: #1822924


** Changed in: horizon
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1822924

Title:
  Incorrect Error message When user tries to create an extra spec with
  Key name "#^&*" under Volume Type Panel

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  When there is more than one extra spec in the volume type, then create an extra spec with the Key name "#^&*", the form prompts an Wrong error i.e. "There was an error submitting the form. Please try again."
  But the expected error message need to be "Key names can only contain alphanumeric characters, underscores, periods, colons and hyphens".

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1822924/+subscriptions


References