Deleting content-type with extra file called *.js.* or *.ts.* then the app fails to start #17360
Labels
flag: EE
Issues correlates to internal EE ticket
issue: bug
Issue reporting a bug
severity: medium
If it breaks the basic use of the product but can be worked around
source: core:content-type-builder
Source is core/content-type-builder package
source: core:strapi
Source is core/strapi package
status: confirmed
Confirmed by a Strapi Team member or multiple community members
Bug report
Required System information
Describe the bug
When you have an extra file that is named
*.js.*
or*.ts.*
and delete the content-type via the content-type builder you will get an error that it can't find the content-type schema. Example would be:src/api/test/content-types/test/test.js.whatever
Steps to reproduce the behavior
.js.disabled
into thecontent-types/CTName/
directoryExpected behavior
Our file parser should not care if the file has a suffix and should delete the entire directory regardless
Screenshots
N/A
Code snippets
N/A
Additional context
Internal TID4347
The text was updated successfully, but these errors were encountered: