Release Notes / Version 11.2304
Table Of Contents
The function
ILinkListWrapper#acceptsLinks
had unclear documentation and therefore was neither used nor implemented consistently.
The most common use case was to only pass the links to be added to the link list like the first sentence of the documentation applied.
Some usages also prepended the existing links of the link list to the links to add before passing the array to the function. This has implied that all links are meant to be replaced.
CoreMedia adopted all implementations to the most common use case (see 1) and added an optional second parameter named
replaceLinks
that can be used if the other usage was meant.
In case you make use of the method
acceptsLinks
please check if you need to set the parameterreplaceLinks
.In case you have implemented an own implementation of
ILinkListWrapper
please adjust your implementation of theacceptsLinks
method accordingly to consider thereplaceLinks
flag. It is also expected that a check againstgetFreeCapacity
(or ifreplaceLinks
is set totrue
againstgetTotalCapacity
) is made to make sure the links to be added fit into the link list.
(CMS-18849)