Release Notes / Version 10.2107
Table Of ContentsFixed Cache Capacity Handling and Reporting of DataViewFactory
The DataViewFactory did not respect the configured cache capacities and fell back to the capacity of "java.lang.Object" for cache capacities whose keys did not represent the names of classes extending
com.coremedia.objectserver.dataviews.AssumesIdentity
or
com.coremedia.objectserver.dataviews.DataView
. This is the case for
com.coremedia.blueprint.common.contentbeans.Page
, for example. The DataViewFactory no longer maintains its own mapping of cache capacities but uses the capacities which are configured at the Cache bean. The DataViewFactory records the used cache classes and reports the corresponding cache capacities via JMX using the
CacheSizes
attribute or the
getCacheSizes
operation.
The cache size definitions from dataviews XML files have lower precedence than those defined at the cache. So if your project contains a
cachesize
entry for class
X
with value
Y
and your application config contains an entry
cache.capacities.X=Z
then the cache capacity is
Z
.
(CMS-20774)
Fixed support for IE expressions in legacy template Page._additionalHead.ftl
Fixed support for IE expressions in legacy template "Page._additionalHead.ftl" of "cae-base-lib" causing that no IE specific CSS/JS was loaded at all under certain conditions (e.g. if the "page" brick was not used).
(CMS-20663)
Fixed resolution of local message resources in developer mode
The loading of message resources from the local workspace (when
delivery.local-resources=true
) has been fixed. Like CSS and JS resources, they are now loaded from the extra resources directories (see configuration of
spring.boot.tomcat.extraResources
).
(CMS-20447)
Links to external pages do not break headless server
The headless server output contains links to pages. In case of an External Page (from a shop system) the link generation broke the headless server output. Apart from the fact that these urls don't make too much sense (because we can't build urls to external systems), the error has now been fixed.
(CMS-20201)
Solved a Bug Preventing CAE Background Tasks to Access Contents Filtered by Validity Dates
Bean
BlueprintHandlersCaeBaseLibConfiguration#validUntilConsumer
no longer throws an exception if the current request is not available when consuming a validity change instant.
(CMS-19458)
Prevent Errors when Formatting Links from Download File Names
The `CapBlobHandler` now returns a
UriComponentsBuilder
object instead of a
String
when when building download links. This prevents error-prone guessing if provided links are URL encoded or not in the link formatter. Such errors could occur when
useCMDownloadFilename=true
and the file name of a download contains both, encoded and unencoded characters (e.g. a
+
and a space).
(CMS-19259)