Duplicate validation error for 'image_location'

Bug #1525100 reported by Liyingjun
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
Lin Hua Cheng

Bug Description

When enter an invalid url to 'image location' when create image, the validation error message occurred twice.

Revision history for this message
Liyingjun (liyingjun) wrote :
Changed in horizon:
status: New → Confirmed
assignee: nobody → Lin Hua Cheng (lin-hua-cheng)
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/256346

Changed in horizon:
status: Confirmed → In Progress
Revision history for this message
Lin Hua Cheng (lin-hua-cheng) wrote :

targetting to next milestone since this is a regression introduced this cycle

Changed in horizon:
importance: Undecided → Medium
milestone: none → mitaka-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

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

commit bb66ec17b1ec4c70813a95236d0479c3de658c26
Author: lin-hua-cheng <email address hidden>
Date: Fri Dec 11 03:03:51 2015 -0800

    Fix duplicate Image URL validation message

    URLField already have a default_validator of URLValidator,
    defining another validator appends to the default_validator
    causing duplicate message.

    We should override the default_validator for restricting the
    url schema rather than appending another URLValidator.

    Change-Id: Icf09b2a70e63f610e34212ddc4d74f077a07b089
    Closes-bug: #1525100

Changed in horizon:
status: In Progress → 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.