[CLOUDINARY-49] allowedMimeTypePattern is wrongly configured in dam-cloudinary module Created: 05/Dec/23 Updated: 12/Jan/24 Resolved: 11/Dec/23 |
|
| Status: | Closed |
| Project: | Cloudinary DAM Connector |
| Component/s: | None |
| Affects Version/s: | 1.1.15 |
| Fix Version/s: | 1.1.17 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Teresa Miyar | Assignee: | Raphael Falvo |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Integration-Testing | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 10m | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[X]*
Doc/release notes changes? Comment present?
[X]*
Downstream builds green?
[X]*
Solution information and context easily available?
[X]*
Tests
[X]*
FixVersion filled and not yet released
[X] 
Architecture Decision Record (ADR)
|
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
| Team: | |
| Work Started: | |
| Approved: |
Yes
|
| Description |
|
allowedMimeTypePattern is configured with following value here: (.*?)\/(ai|gif|webp|avif|bmp|djvu|ps|ept|eps|eps3|fbx|flif|glb|gltf|heif|heic|ico|indd|jpg|jpe|jpeg|jp2|wdp|jxr|hdp|pdf|png|psd|arw|cr2|svg|tga|tif|tiff|3g2|3gp|avi|flv|m3u8|ts|m2ts|mts|mov|mkv|mp4|mpeg|mpd|mxf|ogv|webm|wmv)$ While allowed values are a list of mimetypes separated with commas like below: application/*,image/*,video/* Having this currently wrongly setup is breaking the upload to Cloudinary feature from the Cloudinary browser, it's generating a NPE. Also, a minor error is reported in the definition problems stating that format is wrong |
| Comments |
| Comment by Teresa Miyar [ 05/Dec/23 ] |
|
Behaviour changed https://docs.magnolia-cms.com/product-docs/6.2/Releases/Release-notes-for-Magnolia-CMS-6.2.12.html#_validation_messages_can_be_configured_for_upload_field |