execute (e.g. using curl):
curl /api/user/diaries/2018-03-05/entries/17 -v -X delete
response message is 200 and "Data entry was deleted"
while it is not
symptoms: execute the call again - 200 is a result; while should be 404
request for all diary entries for this diary - there will be an entry with the same id
or invalid operation exception is thrown (if called in the same run as delete method)
execute (e.g. using curl): curl/api/user/diaries/2018-03-05/entries/17 -v -X delete
response message is 200 and "Data entry was deleted"
while it is not symptoms: execute the call again - 200 is a result; while should be 404 request for all diary entries for this diary - there will be an entry with the same id or invalid operation exception is thrown (if called in the same run as delete method)