Public bug reported: Now when extending a volume to a new size which is less then the current one, we will pop up an error warning message on the top of the form instead of beside the new size field. now change to use field specified error class for more accurate.
And as Kirill Zaitsev suggested, it would be even better if we could incorporate https://docs.djangoproject.com/en/1.8/ref/forms/api/#django.forms.Form.add_error, which would not make us fiddle with form internals. but it was only added in django 1.7, and we support up to 1.5 but moving forward with django support seems like a nice idea. ** Affects: horizon Importance: Undecided Assignee: Zhenguo Niu (niu-zglinux) Status: In Progress ** Changed in: horizon Assignee: (unassigned) => Zhenguo Niu (niu-zglinux) -- 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/1480001 Title: Little improvement of errors show on volume Extend form Status in OpenStack Dashboard (Horizon): In Progress Bug description: Now when extending a volume to a new size which is less then the current one, we will pop up an error warning message on the top of the form instead of beside the new size field. now change to use field specified error class for more accurate. And as Kirill Zaitsev suggested, it would be even better if we could incorporate https://docs.djangoproject.com/en/1.8/ref/forms/api/#django.forms.Form.add_error, which would not make us fiddle with form internals. but it was only added in django 1.7, and we support up to 1.5 but moving forward with django support seems like a nice idea. To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1480001/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp