← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1634696] Re: Leading or trailing space in name throws error for new or updated Instances

 

*** This bug is a duplicate of bug 1519386 ***
    https://bugs.launchpad.net/bugs/1519386

Reviewed:  https://review.openstack.org/388868
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=4cfd243ee020d28bb7cc9bbc20a178e9e62b515d
Submitter: Jenkins
Branch:    master

commit 4cfd243ee020d28bb7cc9bbc20a178e9e62b515d
Author: Ernest Millan <millan@xxxxxxxxx>
Date:   Wed Oct 19 11:50:42 2016 -0700

    Strip leading or trailing spaces from Instance names during update and create
    
    Fixes situation where exception and error is displayed for
    Instance names which have a leading or trailing space.
    
    Change-Id: Ida8d1f01acbaf4820e5fa94d12372a459bba8ed5
    Closes-bug: #1634696


** 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/1634696

Title:
  Leading or trailing space in name throws error for new or updated
  Instances

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  1. Go to Project -> Instances.
  2. Either create a new Instance or edit an existing one.
  3. Add either leading or trailing spaces to its "name" and submit the form.
  4. An exception will be thrown and an error pop-up will appear.

  We should strip these out on creation and save.

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


References