[EXTDAM-375] No default value provided for and pageSize and bynderMaxNumberPerRequest Created: 18/Apr/23  Updated: 20/Apr/23

Status: Open
Project: External DAMs
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Sebastian Geschke Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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:
Epic Link: AuthorX Maintenance
Team: AuthorX

 Description   

Steps to reproduce

  1. Add bynder integration with configuration as per [documentation|https://docs.magnolia-cms.com/product-docs/6.2/Connector-Packs/DAM-Connector-Pack/External-DAM-module.html#_connecting

A divide by zero exception is thrown: (pageSize is 0)
__

java.lang.ArithmeticException: / by zero
    at info.magnolia.external.dam.bynder.BynderAssetProvider.getMediaList(BynderAssetProvider.java:153) ~[magnolia-external-dam-bynder-1.1.3.jar:?] 

Expected results

Provide default values for pageSize and bynderMaxNumberPerRequest.

Actual results

Workaround

Development notes


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