core
core copied to clipboard
Default File Type not respected when adding through content
If you add a file to a folder via a content add it will be the File Asset file type rather than the folder default.
Steps to Reproduce (for bugs)
- Create a new file Content-Type (NewFileType)
- Set a folder to have NewFileType as the default file type
- In Content Search select "add new content" of a type that includes a file upload (Event, for example).
- In that content select "Add a File" dialogue
- Navigate to the above folder
- Select to Add a File rather than using an existing one
- Once file is uploaded, navigate to the folder in Browser, it is the File Asset content type rather than the NewFileType content type.
Your Environment
- dotCMS version used: 4.1.1, 5.0.3
If a user has no access to the default File Asset content type, this just results in an error message that doesn't give a real clue about the reason (in v4). This has already caused issues with out customers.
This issue has been automatically marked as stale because it has not had activity within the past 90 days. It will be closed in 30 days no further activity occurs. Thank you.