Uploaded image for project: 'Cloudinary DAM Connector'
  1. Cloudinary DAM Connector
  2. CLOUDINARY-49

allowedMimeTypePattern is wrongly configured in dam-cloudinary module

    XMLWordPrintable

Details

    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
       
      The attachement cloudinary-49-fix.zip contains a light module that is removing the issue, as an alternative until this change is made directly in dam-cloudinary module.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              rfalvo Raphael Falvo
              tmiyar Teresa Miyar
              Services
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Work Started:

                Checklists

                  Bug DoR
                  Task DoD

                  Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 10m
                    10m