manila/releasenotes/notes/fix_share_server_manager_match_id-276202295539dc0f.yaml
Raffaela Cunha f7402cbf27 Fixes share server manager match of identifiers
Previsously, when trying to manage a share server with a given
identifier, the db API checked if the identifier is a substring
of any existing identifier and if it is True, it raised an
InvalidInput Exception.
Now, the InvalidInput expception is raised only if the
identifier is a suffix of any existing identifier and it is
ignored when it is just a preffix. Some queries from the
sqlalchemy API share_server_search_by_identifier method
were edited to implement this change.

Depends-On: I14df0c9c7326ac49274699dc0ef1adb99570784b
Closes-bug: #1982429
Change-Id: I4b340ef116625f28e431b069f399771fd29a8de9
2023-09-19 15:30:59 -03:00

8 lines
288 B
YAML

---
fixes:
- |
Fix share server manager API match of identifiers by preffix. "Invalid
input received Error" now raises only if the identifiers suffixes matches.
For more details, please refer to
`launchpad bug #1982429 <https://bugs.launchpad.net/manila/+bug/1982429>`_