CMS MADE SIMPLE FORGE

Eridu

 

[#12512] Make 'show' action fail gracefully if no match found

avatar
Created By: Matt Hornsby (DIGI3) (DIGI3)
Date Submitted: 2022-01-21 10:47

Assigned To: Fernando Morgado (JoMorg)
Resolution: Accepted
State: Open
Summary:
Make 'show' action fail gracefully if no match found
Detailed Description:
If you use {Eridu show='welcome text'} and there's no entry for 'welcome text'
it will generate a fatal error. This can result in a site going down if an
editor accidentally deletes an entry. It would be nice if it could just generate
an admin log entry 'item x not found' and not output anything on the frontend.

History

Updates

Updated: 2022-01-21 13:17
resolution_id: => 6
assigned_to_id: 100 => 12532