Throw InvalidInput error in case name and description above max length
Bug #2023964 reported by
kiran pawar
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
In Progress
|
Undecided
|
kiran pawar |
Bug Description
In case of snapshot create, if display name or display description is above max limit (fields created in db with limit 255), manila internally throws DB exception. but the error reported to user is not meaningful.
Fix this by validating name and description length in API layer itself and throw Invalid Input error if above max limit.
Observed backtrace - https:/
Changed in manila: | |
assignee: | nobody → kiran pawar (kpdev) |
description: | updated |
To post a comment you must log in.
Fix proposed to branch: master /review. opendev. org/c/openstack /manila/ +/886164
Review: https:/