← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1252427] Re: flavors extra spec captured value too short

 

** Changed in: horizon
       Status: Fix Committed => 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/1252427

Title:
  flavors extra spec captured value too short

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  The capture field in the flavor extra spec form, is currently set to
  25, but should be bumped up to 37 to accommodate the entire ID length.

  ../openstack_dashboard/dashboards/admin/flavors/extras/forms.py:

  class EditExtraSpec(forms.SelfHandlingForm):
      key = forms.CharField(max_length="25", label=_("Key"))
      value = forms.CharField(max_length="37", label=_("Value"))
      flavor_id = forms.CharField(widget=forms.widgets.HiddenInput)

  Should be 
      value = forms.CharField(max_length="37", label=_("Value"))

  same in the "create" extra spec window:
  class CreateExtraSpec(forms.SelfHandlingForm):
      key = forms.CharField(max_length="25", label=_("Key"))
      value = forms.CharField(max_length="37", label=_("Value"))
      flavor_id = forms.CharField(widget=forms.widgets.HiddenInput)

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