View Issue Details

IDProjectCategoryView StatusLast Update
0037316mantisbtplug-inspublic2026-07-18 13:08
Reporterdregad Assigned Todregad  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Target Version2.29.0Fixed in Version2.29.0 
Summary0037316: New error code: ERROR_PLUGIN_ENTITY_NOT_FOUND
Description

This follows a suggestion by @vboctor in a TODO in the Snippets plugin [1]:

ideally we should have a generic ENTITY_NOT_FOUND error to trigger 404 http status code
low priority since this is not used by the UI.

TagsNo tags attached.

Activities

dregad

dregad

2026-07-18 13:08

developer   ~0071311

Snippets plugin issue https://github.com/mantisbt-plugins/Snippets/issues/83

Related Changesets

MantisBT: master 05cbaccc

2026-06-05 09:23

dregad


Details Diff
Define new ERROR_PLUGIN_ENTITY_NOT_FOUND error

This is a generic error to be used by Plugins when they need to report
a not found error.

This is mapped to HTTP 404 status for the REST API.

Fixes 0037316
Affected Issues
0037316
mod - core/constant_inc.php Diff File
mod - core/error_api.php Diff File
mod - lang/strings_english.txt Diff File