*** The wcm.io Project is closing down this JIRA Instance in favor of GitHub issues. *** Please use the corresponding GitHub projects to report issues - or the mailing list for general discussion.

Issues

Select view

Select search mode

 

MockAsset.getRenditions returns ImmutableList

Fixed

Description

I hope I'm creating this ticket in the correct section.
If not, please feel free to move it.

The MockAsset.getRenditions method currently returns an ImmutableList:

This does not seem like a big deal, but when calling UIHelper.getBestfitRendition we end up in DamUtil.getBestFitRendition, which tries to sort the renditions when no perfect match can be found. Hence, an UnsupportedOperationException is thrown.

Gliffy Diagrams

Details

Assignee

Reporter

Components

Priority

Created August 15, 2016 at 11:08 AM
Updated November 13, 2017 at 2:58 PM
Resolved August 15, 2016 at 3:28 PM

Activity

Show:

Robin van RielAugust 16, 2016 at 1:09 PM

I'm impressed by your responsiveness.
Thanks for fixing it so fast.

Stefan SeifertAugust 15, 2016 at 3:28 PM

fixed in AEM mocks 2.0.2 & AEM Mocks 1.8.2

rev. a64960e06fd7d2757aa2752255e8916a63db3313, 3b79b5d44ae61cfc2ed3f6827735a254327f16c2

Loading...