Skip to content

[FIX] Trackers: Handle lost or invalid trackers and items

When trackers are not present (perhaps lost or otherwise mistyped) a 500 (internal server error) is produced as shown on the screenshot 1. And when an item is missing and the related tracker exists, tracker fields are returned without data as shown on the screenshot 2. So, this merge request fixes that by throwing a correct error message when a tracker or an item is not found.

For more details, see: https://avan.tech/item76809 and https://dev.tiki.org/item6565

Screenshot 1: missingTracker_serverErrorMessage

Screenshot 2: itemNotFound_result

Merge request reports