close

Filter

loading table of contents...

Release Notes / Version 10.2107

Table Of Contents

CoreMedia Content Application Engine

Deprecated class `com.coremedia.security.web.csrf.CsrfPreventionManagement`

Class `com.coremedia.security.web.csrf.CsrfPreventionManagement` is deprecated. Use spring security CSRF protection instead.

(CMS-16662)

Avoid NullPointerException in CommunityUserServiceImpl

Avoid NullPointerException when using null as password in CommunityUserServiceImpl.java, This e.g. happened in case of LiveContextUserSessionSynchronizerImpl where only a dummy user is created without password.

(CMS-16622)

Deprecated UriComponentsBuilder as @Link and @LinkPostProcessor method argument

The UriComponentsBuilder is subtle concerning URL encoding, and if you retrieve an existing one of uncertain state, you cannot determine how to handle it appropriately. This frequently leads to surprising results of the CAE's link building. Therefore, we deprecated UriComponentsBuilder as argument and return type for @Link and @LinkPostProcessor methods. Use UriComponents , and use UriTemplate as argument type in @Link methods, instead. When you change the signatures of your methods, use the following type conversions in your methods to match your code and achieve a backward compatible behavior. (This is how the link building framework casts between the types.)

For arguments:

  • @Link , UriTemplate → UriComponentsBuilder: UriComponentsBuilder.fromPath(uriTemplate.toString())

  • @LinkPostProcessor , UriComponents → UriComponentsBuilder: UriComponentsBuilder.fromUri(uriComponents.toUri())

For return values:

  • UriComponentsBuilder → UriComponents: uriComponentsBuilder.build()

UriComponentsBuilder is deprecated only as argument and return type, but may safely be used internally. It is still a useful class, if you can control its complete lifecycle, from creation to build() .

(CMS-16058)

Filter deleted/destroyed content in Annotated LinkLists

Deleted and destroyed content is filtered from Annonated LinkLists now. CAE : Filtering is performed in CMLinkableBase Headless-Server : Filtering is performed in ExtendedLinkListAdapter. Additionally, a filter was introduced, that filters deleted/destroyed content generally (InProductionFilterPredicate).

(CMS-13722)

Search Results

Table Of Contents