← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1146030] Re: Snapshot name maxlength is only 20 characters instead of 255 as that of image name

 

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

Title:
  Snapshot name maxlength is only 20 characters instead of 255 as that
  of image name

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  I am running Folsom 2012.2.2 and in Horizon, while creating a snapshot
  the max character length allowed is only 20 characters which is way
  too small for general use. Refer to the HTML snippet from the 'Create
  Snapshot' form.

  <input type="text" maxlength="20" name="name" id="id_name" data-
  original-title="">

  This is also inconsistent with the max characters of 255 allowed for
  image names. Refer to the HTML snippet from the 'Create an Image'
  form.

  <input type="text" maxlength="255" name="name" id="id_name" data-
  original-title="">

  The 255 character limit seems reasonable.

  This can be fixed in the file
  /usr/share/pyshared/horizon/dashboards/nova/images_and_snapshots/snapshots/forms.py
  by changing the maxlength from 20 to 255.

  Regards,
  Balu

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