« Previous | Next » 

Revision 1b26a147

ID1b26a1473133ed2e05a65151c68f377d58a6b9d5
Parent e9358faf
Child ece21211

Added by Bastian Waidelich over 6 years ago

[BUGFIX] Throw 404 exception when updating a non-existing resource

Specifying a non-existing identity when converting a persistent
object using the ``PersistentObjectConverter`` the ``PropertyMapper``
tries to apply conversions on the ``TargetNotFoundError`` instead of
returning the error directly.

Background:
The reason for this regression is the new ``TargetNotFoundError`` that
has been introduced with I5231ccddaef1a6b49e62bb29bdd3ff99dc2bb994 in
order to be able to handle that case more gracefully. Previously an
exception was thrown directly.

Change-Id: I1106384dd52160a6844a7fb5e6ce49e8dafd6dec
Fixes: FLOW-333
Related: FLOW-197
Releases: master, 3.0

  • added
  • modified
  • copied
  • renamed
  • deleted