The update method does not get called at all. I have my debugger setup and I added console logs. Update method only gets hit when updating via rest api and does not get hit when updating via admin panel.
I created an issue here:
opened 01:25PM - 30 Sep 23 UTC
## Bug report
### Required System information
- Strapi version: 4.13.6
- Da… tabase: Postgres
- Operating system:
### Describe the bug
When extending a controllers `update` method, the method is called via rest api but not when updating content in the admin panel.
### Steps to reproduce the behavior
1. Create a collection in the admin panel
2. Add update method to the collections controller in code
3. Create content in the collection and then update some content in the admin panel
4. Notice the update method does not fire
5. Make a PUT rest api request to the route and notice the update method does fire
### Expected behavior
Expect the update controller to run anytime content is updated. Not only via specific entry points like rest api.
### Code snippets
```javascript
export default factories.createCoreController('api::event.event', ({ strapi }) => ({
async update(ctx){
console.log("Does not run when saving content in the admin panel")
}
}))
```
### Additional context
Forum discussion raised by other members here https://forum.strapi.io/t/override-controller-services-not-working-in-admin-panel-v4/13997