[dashboard] Edit environment skips name validation

Bug #1362780 reported by Steve McLellan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
Low
Steve McLellan

Bug Description

Description:
------------
test to update environment with invalid name

Steps to execute:
----------------
1. Login to murano UI
2. Click on Murano -> Environments
3. Click on more -> Edit Environment button
4. Edit Name with "@##@><?KunalEnv7#@#@"

Expected Result:
---------------
"Environment should not be renamed and error should be thrown for invalid name .

""Environment name must contain only alphanumeric or ""_-."" characters, must start with alpha"""

NOTE: There is a check when you create new environment with special characters .

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano-dashboard (master)

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

Changed in murano:
assignee: Brian Tully (brian-tully) → Steve McLellan (sjmc7)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano-dashboard (master)

Reviewed: https://review.openstack.org/117648
Committed: https://git.openstack.org/cgit/stackforge/murano-dashboard/commit/?id=532a0cfc1dd18a694e3fbb382f94805dc71aaa1f
Submitter: Jenkins
Branch: master

commit 532a0cfc1dd18a694e3fbb382f94805dc71aaa1f
Author: Brian Tully <email address hidden>
Date: Thu Aug 28 14:29:59 2014 -0400

    check for valid env name on update action

    On environment create we check env name to ensure it is valid,
    however env update action doesn't do this validation check, so we add
    the validation action in this commit.

    Change-Id: Ib6fb146880eaca850a458b74d808db8ad80ce527
    Closes-Bug: 1362780

Changed in murano:
status: In Progress → Fix Committed
ruhe (ruhe)
Changed in murano:
status: Fix Committed → Fix Released
Changed in murano:
milestone: juno-3 → 2014.2
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.