2.2.34. Release 7.5.11

This chapter contains all changes made in Release 7.5.11 of CoreMedia Digital Experience Platform 8.

Release 7.5.11 contains the following CoreMedia modules:

  • CoreMedia Blueprint

  • CoreMedia CMS

  • CoreMedia Studio

  • CoreMedia LiveContext for IBM WebSphere Commerce

  • CoreMedia Elastic Social

In addition, CoreMedia DXP 8 uses the following tooling:

ProductKeyVersion
CoreMedia Application Maven Plug-inAPPPLUGIN2.7.9
CoreMedia Project Maven ExtensionPROJEXT1.0.5

Table 2.40. Tooling of CoreMedia DXP 8


CoreMedia Blueprint Improvements

Fixes
LinkEmbedFilter
  • The LinkEmbedFilter was only suitable for certain (and not documented in detail) preconditions concerning the elements of the outer and the inner HTML and thus produced invalid HTML in many cases. It has therefore undergone a major change to make it more flexible.

    The appropriate behavior of the LinkEmbedFilter depends on the HTML snippet created by the view for the bean to be embedded. Since the LinkEmbedFilter is not aware of particular templates, it cannot automatically determine whether the snippet to be embedded will be a block element or a flow element. The hasBlockLevelView method reflects this information for the Blueprint's default templates. If you change the templates of the asRichtextEmbed view, you must also adjust this method accordingly.

Image Preview Setting
  • A new IntProperty maxPreviewImageWidth is added to the Responsive Image Settings. It defines the max width of the images, displayed in the CoreMedia Studio's preview. The default value is 400px.

CoreMedia CMS Improvements

Enhancements
  • In order to bundle information on content located in a site you can now retrieve a special view an the content from the SitesService: the ContentSiteAspect. This aspect can be queried for its master, its master's version and for example for its translation state.

    Together with this change fallback strategies have been implemented to deal with content items which do not fulfill some requirements like providing master and master version information. Fallback strategies are to determine the master by its path or to determine the locale not only by a document property but as fallback also from the site indicator document.

Changes
  • Queries in the SitesService related to a content item in a site have now been moved to the newly introduced ContentSiteAspect. This includes:

    • Site getSiteFor(Content)

      replaced in ContentSiteAspect's Site getSite().

    • String getDerivedPathForSite(Content, Site)

      replaced in ContentSiteAspect's String getAbsolutePathInSite(Site).

    • Content getDerivedContentForSite(String)

      replaced in ContentSiteAspect's Content getDirectlyDerived(Site).

    • boolean isLocalizable(Content)

      replaced in ContentSiteAspect's boolean isLocalizable().

    • Set<Content> getVariants(Content)

      replaced in ContentSiteAspect's Set<Content> getVariants().

    • Map<Locale,Content> getVariantsByLocale(Content)

      replaced in ContentSiteAspect's Map<Locale,Content> getVariantsByLocale().

    • Locale getLocale(Content)

      replaced in ContentSiteAspect's Locale getLocale().

    • boolean isPartOf(Site,Content)

      replaced in ContentSiteAspect's boolean isPartOf(Site).

  • Some queries in the SitesService related to sites have been removed and must be retrieved from the Site object:

    • Content getSiteIndicator(String)

    • Content getSiteRootDocument(String)

    • Content getSiteRootFolder(String)

  • Server Ex-/Import have been enhanced to rebuild the translation state and thus especially the referenced master version. A special version number "0" has been introduced which will result in derived contents displayed in CoreMedia Studio as being "not-up-to-date". Exporting content with verbose flag will output the actual translation state.

    Background Information: Server Ex-/Import do not export versions. Thus, it is not possible to restore a versioned link (represented by master link and master version) if the master has a new version meanwhile. Version "0" provides a best-effort solution in this case.

CoreMedia Studio Improvements

  • The Library can now be docked in the same place where the Control Room shows up, thus hiding the Control Room when docked. Vice versa the Control Room can now float in its own window just like the Library. To be precise Control Room and Library now have exactly the same behavior regarding docking / floating. Additionally a second dock area is available at the right side next to the Actions Toolbar. The size and position of both components are persisted and get restored on Studio startup.

  • Corresponding with the Server Ex-/Import change CoreMedia Studio interprets Version "0" (and actually any destroyed version) as not up-to-date. Mind that only a global warning on outdated content can be reported as the actually changed properties cannot be determined.

CoreMedia Elastic Social Improvements

Changes
  • Added the property "es.profile.changes.mails.enabled" to define if mails are send when a user profile was changed during moderation in the Studio. Changed the behavior, that now no mails will be send if the profile of a blocked or ignored user is changed during moderation.

CoreMedia LiveContext for IBM WebSphere Commerce Improvements

CoreMedia Project Improvements

CoreMedia Blueprint Improvements

Deployment and Virtualization
  • A new listener com.coremedia.tomcat.FailedContextShutdownServerListener will be registered to all tomcat contexts. It is added to the context.xml to glue the webapps lifecycle with the lifecycle of the server component in order to provide a reliable status for the OS service handle. The listener shuts down a tomcat instance if any webapps context passes the lifecycle state FAILED.

    As a result of the above listener chef will restart tomcat if a webapp fails and therefore can keep its idempotency promise.

    A new listener com.coremedia.tomcat.CleanupTmpOnStartupListener will be registered to the server component. It is added in the server.xml of tomcat to clean up temporary files at startup time.

    The module coremedia-tomcat-orb has been renamed to coremedia-tomcat and additionally contains now both new listeners.

Changes for Document Type Model
  • The content types CMSymbol,CMViewtype,CMSegment and CMUserProfile are now CMLocalized. They were CMObject before. As a result the following changes have been applied:

    • The document types have the additional properties master, masterVersion and locale

    • The parent of CMSymbol,CMViewtype,CMSegment and CMUserProfile was changed to abstractLocalized-blueprint-doctypes in the blueprint-contentbeans.xml.

    • The contentbeans have been adapted.

    • The CMSymbolForm,CMViewtypeForm,CMSegmentForm and CMPersonaForm have been extended by the MultiLanguageDocumentForm.

Closed JIRA Issues

KeyTypeSummaryStatus
CMS-1498BugPC search/cart link broken in automatic WCS deployment pipelinesFixed
CMS-1489BugNo Studio i18n for placements "tab" and "main"Fixed
CMS-1476BugDND inside ContentSet removes contentFixed
CMS-1472BugDB2 Configuration is required during installationFixed
CMS-1467 (35864)BugRemove Redundant Empty P-Tags From MarkupFixed
CMS-1464BugStudio: Failed IBM WCS Rest Service login prints password to logFixed
CMS-1462BugRemoteBean does not fire on Loaded Event, ValueExpressions might not re-evaluateFixed
CMS-1459BugShopping Cart View Displays Weird DataFixed
CMS-1452BugProducts In Aurora Lack AttributesFixed
CMS-1439BugES Dynamic List for comments not workingFixed
CMS-1430BugCreate new picture cropping component brokenFixed
CMS-1420BugWCS Category Links With Umlauts Cause "Generic Error"Fixed
CMS-1419BugProduct Links On German PC Site Lead To "Generic Error"Fixed
CMS-1406BugCoreMedia Content Widget Image is not transparentFixed
CMS-1404BugDetail view for pending translation workflows emptyFixed
CMS-1394BugPC login does not support email, only login nameFixed
CMS-1387BugSearch With Suggestions In Library in IE 9 unusableFixed
CMS-1368BugP13n and Elastic Social License Warnings overlap each otherFixed
CMS-1365BugChange icon of placement extended tooltipFixed
CMS-1358BugWrong link for articles on a Perfect Chef Category PageFixed
CMS-1311BugLayout of Reset Password page is brokenFixed
CMS-1301Bugrobots.txt is delivered as downloadFixed
CMS-1261BugWrong Product Image UrlsFixed
CMS-1226BugClosing docked library makes selected document tab inaccessibleFixed
CMS-1208BuggetAvailabiltyInfo returns null for ProductVariantFixed
CMS-1192BugNo option to create an "External Page" in navigation toolbarFixed
CMS-1177BugProduct Detail link on German Perfect Chef site brokenFixed
CMS-1152BugSpecial keys sometimes ignored in content type combo boxFixed
CMS-1108 (35781 35879 36015)BugStudio can not upload images with UmlautsFixed
CMS-1007BugRelativeDateFilterFieldsetBase produces uncacheable Solr filter queryFixed
CMS-969BugESpot does not render as part of an external pageFixed
CMS-622 (34427)BugNo stacktrace for JavaScript errors inside EventUtil.invokeLater() blocksFixed

Table 2.41. 7.5.11