ContentConnect for Spryker Commerce OS

Release Notes for the version 1.12.0

e-Spirit AG

2020-03-18
Table of Contents

Version 1.12.0

Highlights

SPRY-240 Reference project: The input components for the magazine teaser have been rearranged to match the way in which they are rendered on the storefront: Image - Title - Subtitle

SPRY-193 - Fallback for the magazine overview page
If the teaser of a magazine article is empty, the image and title of the magazine article are used for the display on the magazine overview page. If the teaser has an image or title, the contents of the teaser are displayed on the overview page.

Update Notice

SPRY-193 - Fallback for the magazine overview page
The teaser output of a magazine article is defined within the template magazine_teaser_render. In order to add the described fallback functionality to the reference project, the second if query within the style sheet must be extended as follows:

CaaS output channel of the magazine_teaser_render template. 

$CMS_SET(picture,{:})$
$CMS_IF(!rt_entity.teaser_picture.isEmpty())$
	$CMS_SET(imageUrl)$$CMS_REF(rt_entity.teaser_picture,resolution:"CONTENT_IMAGE",abs:1)$$CMS_END_SET$
	$CMS_SET(void, picture.put("imageUrl", imageUrl.toString()))$
	$CMS_IF(!#global.isRelease())$
		$CMS_SET(previewId)$$CMS_VALUE(previewId(element:rt_entity.teaser_picture))$$CMS_END_SET$
		$CMS_SET(void, picture.put("previewId", previewId.toString()))$
	$CMS_END_IF$
$CMS_ELSIF(rt_entity.teaser_picture.isEmpty() && !rt_entity.banner.isEmpty())$
	$CMS_SET(imageUrl)$$CMS_REF(rt_entity.banner,resolution:"CONTENT_IMAGE",abs:1)$$CMS_END_SET$
	$CMS_SET(void, picture.put("imageUrl", imageUrl.toString()))$
	$CMS_IF(!#global.isRelease())$
		$CMS_SET(previewId)$$CMS_VALUE(previewId(element:rt_entity.banner))$$CMS_END_SET$
		$CMS_SET(void, picture.put("previewId", previewId.toString()))$
	$CMS_END_IF$
$CMS_END_IF$
$CMS_SET(void, rt_teaser.put("picture", picture))$

Fixed issues

IDDescription

SPRY-372

Fixed an issue that prevented the editing of missing categories.

SPRY-371

Fixed a bug that caused CMS pages to remain in search index after deletion

SPRY-363

Changed Shoppable Video to HTTPS

SPRY-352

Fixed an issue that prevented the editing of missing products.

SPRY-351

Improved error handling of data import step that’s responsible for import CMS block data for categories.

SPRY-286

Fixed error in shoppable video section that prevented editing of that section type

SPRY-240

Input forms in magazine articles modified

New features

IDDescription

SPRY-193

Added Fallback for empty Magazine-Teaser

Version 1.11.0

Fixed issues

IDDescription

SPRY-338

Now using pagination for caas requests.

SPRY-336

Hotfix to handle missing images in product report.

SPRY-332

Added automatic removal of obsolete CMS Page URLs to data import process

New features

IDDescription

SPRY-357

The button color was adapted to the new UX design

SPRY-350

Made the delete workflow available on productpages and categorypages

SPRY-344

Added a chapter regarding the configuration of the glue webserver

SPRY-307

Documentation of the preview deployment

SPRY-299

Added a configuration for static pagetemplates in the ProjectProperties to add a url

Version 1.10.0

New features

IDDescription

SPRY-327

Added sku to the product report snipped

SPRY-320

The BlocksAggregationSetupExecutable now always uses the CaaS credentials from the module settings.

SPRY-309

Disabled section movement on static pages to avoid invalid states

SPRY-305

Add data cleanup of CMS Pages to Staged Content Synchronization schedule

SPRY-304

Add synchronization of CMS Pages to Staged Content Synchronization schedule

SPRY-303

Added new schedule Staged Content Synchronization to reference project that allows the synchronization of staged content between FirstSpirit and the Preview CaaS.

Version 1.9.1

Fixed issues

IDDescription

SPRY-301

Fixed a bug that prevented re-creating content on content pages.

Version 1.9.0

Update Notice

This update includes an improved error handling of errors occuring during CMS block rendering. The error handling can be configured with the parameter FirstSpiritPreviewConstants::FIRSTSPIRIT_PREVIEW_DISPLAY_BLOCK_RENDER_ERRORS. This parameter defines whether errors should be displayed on the page. As it shows internal information and is useful for debugging purposes, it should only be enabled in development or staging environments.

Extension of the configuration. 

use FirstSpirit\Shared\FirstSpiritPreview\FirstSpiritPreviewConstants;

[...]

$config[FirstSpiritPreviewConstants::FIRSTSPIRIT_PREVIEW_DISPLAY_BLOCK_RENDER_ERRORS] = true;

The class FirstSpiritMagazineLinkWidget was removed from the FirstSpiritPreview module in this release. When updating this module it is necessary to remove the corresponding widget registration from the ShopApplicationDependencyProvider in srcPyzYvesShopApplication.

Additionally with this release the Publish and Synchronize process for the content pages managed by FirstSpirit has been added. The activation of this process requires the additional registration of two queues and a message processor.

Extension of the SprykerRabbitMqConfig (\Pyz\Client\RabbitMq\RabbitMqConfig). 

use FirstSpirit\Shared\FirstSpiritCmsDataStorage\FirstSpiritCmsDataStorageConstants;

[...]

class RabbitMqConfig extends SprykerRabbitMqConfig
{
   protected function getQueueOptions()
   {
      $queueOptionCollection = new ArrayObject();

      [...]

      $queueOptionCollection->append($this->createQueueOption(
         FirstSpiritCmsDataStorageConstants::FS_CMS_PAGE_DATA_SYNC_STORAGE_QUEUE,
         FirstSpiritCmsDataStorageConstants::FS_CMS_PAGE_DATA_SYNC_STORAGE_ERROR_QUEUE));

      [...]

      return $queueOptionCollection;
   }
}

Extension of the QueueDependencyProviders (\Pyz\Zed\Queue\QueueDependencyProvider). 

use FirstSpirit\Shared\FirstSpiritCmsDataStorage\FirstSpiritCmsDataStorageConstants;

[...]

protected function getProcessorMessagePlugins(Container $container)
{
   return [
      [...]
      FirstSpiritCmsDataStorageConstants::FS_CMS_PAGE_DATA_SYNC_STORAGE_QUEUE =>
         new SynchronizationStorageQueueMessageProcessorPlugin(),
      [...]
   ];
}

Furthermore the CmsBlockRenderControllerProvider was renamed to FirstSpiritPreviewControllerProvider. This change also has to be applied to the registration of this ControllerProvider in the YvesBootstrap (\Pyz\Yves\ShopApplication\YvesBootstrap).

Extension of the getControllerProviderStack method. 

use FirstSpirit\Yves\FirstSpiritPreview\Plugin\Provider\FirstSpiritPreviewControllerProvider;

[...]
protected function getControllerProviderStack($isSsl)
{
   return [
      [...]
      new FirstSpiritPreviewControllerProvider($isSsl)
   ];
}

Fixed issues

IDDescription

SPRY-145

Fixed problem with enter markup

SPRY-140

Publication of the magazine detail page includes publication of the overview page

New features

IDDescription

SPRY-280

Improved data relation of content pages by using a natural identifier

SPRY-274

Added redirect to error page for the "Fail Whale"

Version 1.8.0

Fixed issues

IDDescription

SPRY-284

Added filter to glue api call, to make product report faster

SPRY-248

Fixed release workflow permission issue

New features

IDDescription

SPRY-278

Improved data relation of product page content by using the SKU of products instead of internal database ids.

Version 1.7.4

Update Notice

With this release, the deletion of obsolete content pages has been added to the data cleanup process. This requires a project extension where the following files of the files.zip artifact must be created in the Spryker project:

  • files/b2c-demo-shop/src/Pyz/Zed/Cms/Business/Page/PageRemover.php
  • files/b2c-demo-shop/src/Pyz/Zed/Cms/Business/CmsBusinessFactory.php

Additionally, the OCM web asset files/b2c-demo-shop/public/Yves/assets/DE/default/js/fs-preview-ocm-impl.js has been extended with this release. An update of this file is necessary to use a deletion workflow in ContentCreator.

New features

IDDescription

SPRY-95

Added ability to delete content pages to reference project and added deletion of obsolete CMS pages to data cleanup process

Version 1.7.1

Fixed issues

IDDescription

SPRY-275

Version correction for TPP and CSS adjustments

New features

IDDescription

SPRY-263

Revision of the description of the links in the entire documentation

Version 1.7.0

Fixed issues

IDDescription

SPRY-268

Fixed missing dependency declaration of FirstSpiritPreview module by removing the dependency

SPRY-265

Improve error handling when using widgets

New features

IDDescription

SPRY-262

Images exchanged in reference project

SPRY-218

Updated the Architecture Image

Version 1.6.0

Highlights

With this release the links were reworked: The existing use of widgets is now only used in the text-image section. Within the Shoppable Video, the Teaser Grid and the Carousel, the new dynamic links are used instead, which are represented on the Spryker side by Twig functions. These can be called either directly or via the integration of the Twig template "link.twig" within a molecule.

New features

IDDescription

SPRY-246

Created new link templates and created twig functions to generate only url

SPRY-231

Documentation for featured magazine articles

SPRY-197

Removed the "Teaser Link Text". Instead the whole teaser block is a link now.

SPRY-196

Removed intro block from magazine article

Version 1.5.3

Fixed issues

IDDescription

SPRY-261

Added depublishing of CMS block data to data cleanup process.

Version 1.5.2

Fixed issues

IDDescription

SPRY-257

Fixed a bug that prevented published content from being updated.

Version 1.5.1

Update Notice

With this feature a new widget "FirstSpiritMagazineLinkWidget" has been added, which has to be registered in the ShopApplicationDependencyProvider class.

Fixed issues

IDDescription

SPRY-221

Fixed a bug that caused product widgets to load products by their internal product id instead of the products SKU and improved error handling of product widget templates

SPRY-216

Fixed a bug in the display of the Content-Add-Button

SPRY-177

Improved the editor responsivenes for deleting and creating content blocks

SPRY-172

Added support for sorting magazine articles on the magazine overview page and enabled selection of featured articles that are highlighted on magazine overview pages

New features

IDDescription

SPRY-236

Reduced active store configuration of project settings to selection of a single store

SPRY-203

Added color selection for banner texts

SPRY-195

Adding a FirstSpirit linktemplate to link a specific magazine article

Version 1.4.0

Fixed issues

IDDescription

SPRY-226

Raised version numbers of spryker/kernel dependencies to 3.35.0

SPRY-189

Removed restriction of picture source folder

SPRY-187

Added missing permissions to global store

New features

IDDescription

SPRY-227

Moved redundant store relation definition to project settings property

SPRY-206

Added new link type external link

SPRY-198

Added thumbnails for all section templates.

SPRY-194

Enabled Content Link in the Carousel section

Version 1.3.2

Fixed issues

IDDescription

SPRY-211

Increased version of firstspirit-reference-component module

SPRY-166

Fixed bug regarding release status and release of magazine detail pages

New features

IDDescription

SPRY-186

Reworked the chapter regarding the twig templates

Version 1.2.0

Fixed issues

IDDescription

SPRY-190

Removed max lenght limit for title and subtitle in Banner-Section

SPRY-188

Fixed external dependency declaration bug of FirstSpiritDataImport module

SPRY-183

Fixed a minor bug which showed content editing features on pages that haven’t been enabled for content editing with FirstSpirit

SPRY-178

Removing the Overlapping of Navigation by the Edit Buttons

SPRY-174

Fixed resolution of magazine article banner

SPRY-173

Fixed image cropping

SPRY-171

Zusätzliche Schaltfläche zum Freigeben von Bildern entfernt

SPRY-169

Swapped Headline and Subtitle. Center Headline

SPRY-161

Added the description of the FirstSpiritProductFlyoutWidget to the documentation

New features

IDDescription

SPRY-191

Added headline formats to Dom editors

SPRY-167

Ensured compatibility to B2C Demo Shop version 201907.0

SPRY-33

Created teaser grid

SPRY-32

Enabled FS content to be added to product detail pages

Version 1.1.0

Fixed issues

IDDescription

SPRY-144

Fixed missing resdolutions for image cropping

SPRY-143

Add limit of text length at all sections

New features

IDDescription

SPRY-157

Moved reference components to separate Composer package called FirstSpiritReferenceComponents

SPRY-151

Added Basic Authentication support for Glue API access

SPRY-150

Created initial translation of the documentation

Version 1.0.0

Fixed issues

IDDescription

SPRY-141

Disabled TPP rendering for datasets only allowing sections

SPRY-137

Added logs and changed log levels

SPRY-114

Removed credentials from referenceproject

New features

IDDescription

SPRY-132

Pages without Spryker CMS Page Id are now created on preview request in ContentCreator

SPRY-131

Added the ContentHelper service to trigger CaaS updates for overview pages.

SPRY-129

Fixed errors for magazine detail pages

SPRY-124

Added ability of searching for magazine articles and the ContentCreator is navigating to them

SPRY-123

Added support for creating magazine pages

SPRY-121

Added magazin detail page with scheme and table template

SPRY-120

Improved code quality

SPRY-110

Modified default permissions

SPRY-105

Added a section template for the magazine overview

SPRY-98

Added schedule for partial deployment

SPRY-89

Added new image resolutions to the reference project

SPRY-56

Added publish and synchronization process for structured CMS block data

SPRY-38

Improved UX and stability when editing sections

SPRY-31

Added new molecule for magazine article detail page

Version 0.5.0

Update Notice

This update includes a name change of the Spryker module FirstSpiritCmsBlockDataConnector. It was renamed to FirstSpiritCmsDataConnector. Make sure to remove the old module first before installing the new one.

Fixed issues

IDDescription

SPRY-102

Added validation for content page urls

New features

IDDescription

SPRY-111

Checked all labels within the Reference Project

SPRY-86

Added chapter for important information

SPRY-54

Added support for managing content on content pages

SPRY-37

added editorial links to content pages managed by FirstSpirit

SPRY-10

Added support for creating content pages using the ContentCreator

SPRY-7

Shoppable image available in content body on homepage and categorypages

Version 0.4.0

Fixed issues

IDDescription

SPRY-62

Added automatic setup of CaaS aggregations to deployment tasks

New features

IDDescription

SPRY-61

Added logging to useful places in all modules

SPRY-57

Improved handling of requesting online CaaS while importing and cleanup

SPRY-13

Carousel section available in banner body on homepage and categorypages

SPRY-5

Added shoppable video functionality

Version 0.3.1

Fixed issues

IDDescription

SPRY-115

Fixed a syntax error in FirstSpiritDataRestApi module

Version 0.3.0

Update Notice

This version includes a minor fix in the schema of the table spy_fs_cms_block_data_connector that stores structured data for CMS blocks. This is part of the FirstSpiritCmsBlockDataConnector module. The name of the PK sequence for the mentioned table was changed from spy_firstspirit_content_pk_seq to spy_fs_cms_block_data_connector_pk_seq. After updating the module make sure to run the Spryker console command console propel:install in order for Propel to automatically make the necessary change and migrate the database. If Propel fails to perform the migration automatically the necessary change has be be applied manually by altering and updating the name of the sequence to the new name described above. This can be achieved by executing the SQL statement ALTER SEQUENCE spy_firstspirit_content_pk_seq RENAME TO spy_fs_cms_block_data_connector_pk_seq;.

Fixed issues

IDDescription

SPRY-112

Fixed PK sequence name of table that stores structured data for CMS blocks

New features

IDDescription

SPRY-70

Sections can now be deleted, CMS blocks in Spryker will be removed accordingly.

SPRY-12

Toolbar action for publication added

Version 0.2.0

New features

IDDescription

SPRY-79

Added formatting to text-image-section

SPRY-78

Adding banner section for category pages

SPRY-77

Enabled drag&drop support from reports to links

SPRY-43

Added fly-out when hovering over product search results in Content Creator

SPRY-36

Added link template "search link"

SPRY-35

Added category links

SPRY-34

Added product links

SPRY-21

Added Product DAP to search for Spryker products in FirstSpirit

SPRY-14

Add support for content management on category pages

SPRY-1

Support for product categories added.

Version 0.1.1

Fixed issues

IDDescription

SPRY-49

Fixed error on catalog pages that was caused by embedding of OCM dependencies

New features

IDDescription

SPRY-53

Added logging to firstspirit-caas and firstspirit-preview module

SPRY-40

Implemented Text/Image section

SPRY-25

Implemented import process of CMS block data

SPRY-24

Implemented trigger of import process from CaaS to Spryker

SPRY-18

Implemented publishing of structured data

SPRY-16

Added TPP decoration of CMS blocks and CMS placeholders

SPRY-15

Content from CaaS is now available beeing rendered by spryker for preview.

SPRY-8

Added approval workflow

SPRY-3

Implemented preview authentication

Help

The Technical Support of the e-Spirit AG provides expert technical support to customers and partners covering any topic related to the FirstSpirit™ product. You can get and find more help concerning relevant topics in our community.