I’m trying to implement some codeless backend functionality that executes when a file is removed from the system using the
beforeDeleteFileOrDirectory Event Handlers, however i’m unable to get these to fire in any scenario I try.
I’ve implemented a simple codeless handler that prints to the real-time console.
I then remove a file from the root files directory in the hope of seeing the output message in the RT console.
Neither handler seems to be called (as I see no console output). I’ve also tried:
- Using a different model (as opposed to the default)
- Deleting from different directories
- Switching them between blocking and non-blocking.
- I also have a custom codeless endpoint that removes files, and this also isn’t triggering either of the callbacks.
I’m using the
eu-develop server and there were issues with RT at some point today (which was resolved), however logger output is appearing from other handlers I have set up, so it doesn’t seem like a logger issue to me.
Is there something i’m missing with these?
Backendless Version (v6.2.4)