magento / adobe-stock-integration

Magento Adobe Stock integration Community Project.
Open Software License 3.0
60 stars 92 forks source link

Image won't upload to media gallery if subfolder has long name #1778

Closed engcom-Lima closed 4 years ago

engcom-Lima commented 4 years ago

Preconditions (*)

  1. Install Magento 2.4-develop with Adobe Stock Integration and IMS
  2. Configured integration in Stores -> Configuration -> Advanced-> System -> Adobe Stock Integration fieldset
  3. New Media Gallery Enabled

Steps to reproduce (*)

  1. Create a folder with 2 or more subfolders (folder and all subfolders have long names)
  2. Try uploading an image to the last subfolder (Or save from Adobe Stock)

Expected result (*)

Image uploaded

Actual result (*)

Image isn`t uploaded Peek 2020-08-21 16-41

Clear all filters: Error in system.log: [2020-08-21 14:01:40] main.ERROR: The path is not allowed: media/.thumbsTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEESSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTT/TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEESSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTT [] []

m2-assistant[bot] commented 4 years ago

Hi @engcom-Lima. Thank you for your report. To help us process this issue please make sure that you provided sufficient information.

Please, add a comment to assign the issue: @magento I am working on this