Release Notes / Version 11.2301
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
acceptsLinksplease check if you need to set the parameterreplaceLinks.In case you have implemented an own implementation of
ILinkListWrapperplease adjust your implementation of theacceptsLinksmethod accordingly to consider thereplaceLinksflag. It is also expected that a check againstgetFreeCapacity(or ifreplaceLinksis set totrueagainstgetTotalCapacity) is made to make sure the links to be added fit into the link list.
(CMS-18849)


