-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Closed
strapi/documentation
#1788Labels
flag: EEIssues correlates to internal EE ticketIssues correlates to internal EE ticketflag: 💥 breaking changeThis PR contains breaking changes and should not be mergedThis PR contains breaking changes and should not be mergedissue: bugIssue reporting a bugIssue reporting a bugseverity: criticalIf the issue has a security impact or breaks core usage of the productIf the issue has a security impact or breaks core usage of the productsource: core:uploadSource is core/upload packageSource is core/upload packagestatus: confirmedConfirmed by a Strapi Team member or multiple community membersConfirmed by a Strapi Team member or multiple community members
Description
Bug report
Required System information
- Node.js version: v16.20.1
- NPM version: 8.19.4
- Strapi version: v4.11.4
- Database: SQLite
- Operating system: MacOS
- Is your project Javascript or Typescript: JS
Describe the bug
We have all our uploads in the root folder. The DB looks something like this. This project was updated from v3 to v4 before.
When we use v.4.11.1 everything works well. We upgraded to v4.11.4 today and the Media Library is empty. All linked images in the content are still visible.
I debugged the problem down to node_modules/@strapi/plugin-upload/server/controllers/admin-file.js around line 29. When looking at the query filters, they changed between versions.
v.4.11.1:
v4.11.4:
I think from the query filters you can see the problem. Was this an intended change? Is there some note on this breaking change?
Metadata
Metadata
Assignees
Labels
flag: EEIssues correlates to internal EE ticketIssues correlates to internal EE ticketflag: 💥 breaking changeThis PR contains breaking changes and should not be mergedThis PR contains breaking changes and should not be mergedissue: bugIssue reporting a bugIssue reporting a bugseverity: criticalIf the issue has a security impact or breaks core usage of the productIf the issue has a security impact or breaks core usage of the productsource: core:uploadSource is core/upload packageSource is core/upload packagestatus: confirmedConfirmed by a Strapi Team member or multiple community membersConfirmed by a Strapi Team member or multiple community members


