manila/releasenotes/notes/bug-2023964-fix-limit-for-display-name-and-description-827d4ccb777ea632.yaml
Kiran Pawar c88aac595b [API] Validate display name/description length
In case of snapshot create/update, if display name or  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 by validating name/description length should not cross max limit.

Closes-bug: #2023964
Change-Id: I6b1a274da3692700650f84736877c0ae98d46c81
2023-08-01 08:22:32 +00:00

9 lines
368 B
YAML

---
fixes:
- |
During share/snapshot create/update API calls, if display name or
description is above max db limit i.e. 255, Manila throws error. But in
this case, end user message is not meaningful. Fixed it by adding valid
error message. For more details, please check
`Launchpad Bug #2023964 <https://bugs.launchpad.net/manila/+bug/2023964>`_