[MGNLDAM-413] JcrAssetProvider#list and JcrAssetProvider#getChildren should not create a temporary collection Created: 03/Mar/14  Updated: 18/Mar/14  Resolved: 05/Mar/14

Status: Closed
Project: Magnolia DAM Module
Component/s: DAM JCR Provider
Affects Version/s: 2.0
Fix Version/s: 2.0

Type: Bug Priority: Neutral
Reporter: Magnolia International Assignee: Eric Hechinger
Resolution: Fixed 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
Epic Link: DAM / CMIS
Sprint: 5.3 Sprint 3, 5.3 Sprint 4

 Description   

The current implementation of info.magnolia.dam.jcr.JcrAssetProvider#list and info.magnolia.dam.jcr.JcrAssetProvider#getChildren completely defeats the purpose of returning {{Iterator}}s, since it does collect all children in a temporary collection before returning an iterator on that. It shouldn't.


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