Hi,
We are creating a callback which is run after file upload. Based on the status of execution inside this callback we want to throw an error/status message to user. Is it possible? We tried few things suggested here, but they don’t serve the desired objective - http://www.movabletype.org/documentation/developer/error-handling.html
Thanks.
Reported on Movable Type 4.2
The way the callback system is designed is so that one callback cannot stop the other callbacks and operation itself from running. On the one hand, it would be useful in cases like yours, but in other cases, it would be very bad to let callbacks block execution. For example, if a callback on MT::Object load were to fail, you couldn't even load the CMS if MT let callbacks stop everything.