APIs listed below are returning 500 error if you pass name more than
255 characters.
1. metadef tag create
2. metadef property create
3. metadef object create
Added maxLength check in schema to ensure name should not be more than
255 characters.
DocImpact: Earlier for all of the above APIs, maxLength check
for "name" paramerter was not present in schema.
Now all of the above APIs will return 400 HTTPBadRequest
if user passes "name" more than 255 characters.
Reviewed: https:/ /review. openstack. org/329288 /git.openstack. org/cgit/ openstack/ glance/ commit/ ?id=9eed7458718 14d611788f56096 5f78be8e7b5b0d
Committed: https:/
Submitter: Jenkins
Branch: master
commit 9eed745871814d6 11788f560965f78 be8e7b5b0d
Author: bhagyashris <email address hidden>
Date: Fri Jun 3 09:16:44 2016 +0530
Return 400 when name is more than 255 characters
APIs listed below are returning 500 error if you pass name more than
255 characters.
1. metadef tag create
2. metadef property create
3. metadef object create
Added maxLength check in schema to ensure name should not be more than
255 characters.
DocImpact: Earlier for all of the above APIs, maxLength check
for "name" paramerter was not present in schema.
Now all of the above APIs will return 400 HTTPBadRequest
if user passes "name" more than 255 characters.
Partial-Bug: #1585917 1f5b79b383f6b2d d800b9c7b20
Change-Id: Ib85d703442d39a