Fixed Notice controller criteria check should be wrapped in try/catch

Jeremy P

XenForo developer
Staff member
Affected version
Otherwise it's possible to set a controller which exists but cannot actually be called (ie. an XFCP controller), causing the notice list to throw an error.

Additionally, setting the criteria to an action which was added via a class extension causes the criteria to be flagged as potentially invalid (even though the criteria does work as expected).
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.13).

Change log:
Improve notice controller/action criteria validation
There may be a delay before changes are rolled out to the XenForo Community.
Top Bottom