Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Strapi v5 Plugin Controller Override Issue #2397

Open
serkanboztepe opened this issue Feb 24, 2025 · 1 comment
Open

[Bug]: Strapi v5 Plugin Controller Override Issue #2397

serkanboztepe opened this issue Feb 24, 2025 · 1 comment

Comments

@serkanboztepe
Copy link

Link to the documentation page or resource

https://docs.strapi.io/dev-docs/admin-panel-customization/extension

Describe the bug

Strapi v5 Plugin Controller Override Issue

I'm using Strapi v5 and trying to override the plugin::upload.file controller (modifying the /admin/plugins/upload API response). However, overrides via the extensions system or src/index.ts do not work, and no logs appear in the terminal.

Previously, in Strapi v4, overriding via src/extensions/upload/strapi-server.ts or manually modifying the controller in src/index.ts worked. But in Strapi v5, these methods seem ineffective.

Is there an updated approach or alternative solution for this in Strapi v5? 🚀

Additional context

No response

Suggested improvements or fixes

No response

Related issue(s)/PR(s)

No response

@pwizla
Copy link
Collaborator

pwizla commented Feb 25, 2025

Hi! I'm Pierre, Lead Technical Writer at Strapi.

Thanks for reporting.
I'll ask for more info internally.

In the meantime, have you considered the solutions mentioned here: strapi/strapi#16680 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants