[CLOUDINARY-15] Folder can only display 50 most recent images - remaining images are hidden from sight Created: 17/Dec/20  Updated: 22/Feb/21  Resolved: 30/Dec/20

Status: Closed
Project: Cloudinary DAM Connector
Component/s: None
Affects Version/s: 1.1, 1.1.1, 1.1.3
Fix Version/s: 1.1.4

Type: Bug Priority: Critical
Reporter: Niclas Alexander Horstad Assignee: Teresa Miyar
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

DX Core 6.2.5
magnolia-external-dam 1.0.3
magnolia-external-dam-cloudinary 1.1.3


Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

Steps to reproduce

  1. Create a folder in the Cloudinary web portal
  2. Upload 51 images in the new folder
  3. Add a Magnolia component that contains a dam-asset
  4. Search for the image that was first uploaded (oldest upload time stamp)

Expected results

The image appears, or I am presented with an option to load the next 50 images in the folder, if more than 50 images exist in the folder.

Actual results

The plugin only displays the 50 most recent uploaded images. The rest are hidden from sight, and Magnolia gives no indication that they exist, nor provides any way to view more images.

Workaround

Re-upload the images, and delete the old duplicates in Cloudinary website.

How on earth has this issue not been discovered before?



 Comments   
Comment by Teresa Miyar [ 30/Dec/20 ]

Cloudinary API has 50 as default, https://cloudinary.com/documentation/search_api, should be configurable.

Comment by Niclas Alexander Horstad [ 17/Feb/21 ]

@Teresa Miyar

I still don't consider the bug fixed.

You "fixed" it by increasing the maximum number of images fetched via the 'maxResults' property. This doesn't address the root issue...

The root issue, is that Magnolia:

  1. Doesn't inform me that the folder contains more images than what is being displayed.
  2. Doesn't provide me the option of loading more images.

This issue represents a major reliability problem and must be addressed.

Comment by Christopher Zimmermann [ 17/Feb/21 ]

I'm curious if this is an issue with this Cloudinary connector - of if this is an issue or limitation of the "DAM connector pack" which I assume this connector uses. Any clue on that tmiyar?

Comment by Teresa Miyar [ 17/Feb/21 ]

No it is not, by default Cloudinary returns 50, you can configure it up to 500, this issue has been fixed by adding a maxResults configuration variable, 

https://wiki.magnolia-cms.com/display/SERVICES/Cloudinary+DAM+Connector

You can add a new maxResults property in the config.yaml file.

 

Generated at Mon Feb 12 00:00:12 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.