A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Optimizely - update 473

Release summary

New features for Optimizely Content Management System (CMS). Bug fixes for Optimizely Content Management System (CMS), Optimizely Customized Commerce, and Optimizely Forms. Security enhancement for Google Analytics.

Released items September 19, 2023

Area ID Type Description Released
COM-17052
  Unable to delete organization with primary contact id set

Fixed an issue where you could not delete an organization that had a primary contact ID assigned to it.

EPiServer.Commerce 13.34.1; (Or a related package);
Sep 19, 2023
CMS-29797
  Rendering of partial view clears ModelState errors

Fixed an issue that cleared errors on ViewContext.ModelState when you rendered a partial content (such as  through a content area). For example:

  1. Add following line to DefaultPageController.Index method.
    ModelState.AddModelError("AnError", "some error");
  2. Put breakpoints in a view that renders a contentarea before and after the contentarea (such as StandardPage/index.cshmtl)
  3. Access a page that contained an area item that is rendered with a view such as  https://localhost:5000/en/about-us/
  4. In the breakpoint before the rendering of the contentarea, look at ViewContext.ModelState. The error was present in the breakpoint before rendering the content area but Errors was cleared after the rendering of the contentarea.
EPiServer.CMS.Core 12.18.0; (Or a related package);
Sep 19, 2023
CMS-29834
  Inline blocks should be validated for draft updates

Fixed an issue that prevented a validation error (The number must be positive.) from displaying until after the page was published. This issue occurred when an inline block had a block type that used a custom validation attribute, so it appeared only during publish but not when a draft was auto saved. 

EPiServer.CMS.Core 12.18.0; (Or a related package);
Sep 19, 2023
CMS-29805
  ModelSync should read updates from database if concurrency issue is detected

Fixed an issue that caused an error when application instances were started simultaneously and one of the application instances detected a ContentType or Property was updated by another application. The error prevented the ContentModel change from being applied.

EPiServer.CMS.Core 12.18.0; (Or a related package);
Sep 19, 2023
CMS-29624
  Group property data types (add GroupName to PropertyDefinitionType)

The new Content Type Management UI supports grouping of property data types. To let other products and apps (add-ons) add their property types to such groups, a GroupName property is added to PropertyDefinitionType.

EPiServer.CMS.Core 12.18.0; (Or a related package);
Sep 19, 2023
CMS-29793
  Make scheduler job delay configurable

Fixed an issue that caused a "drift" in scheduled job times due to delays employed to reduce risk of resource starvation.

When several jobs have approximately the same scheduled execution time, the scheduler service adds a delay of 10 seconds between each job execution to reduce the risk of resource starvation (for example thread).

However if there are many short-lived jobs that are scheduled with a short time interval then they might "drift" in start time due to this delay; for example, runs every third minute instead of every minute as it was scheduled.

You can configure the delay configurable to define a shorter interval if it suits your jobs better.

EPiServer.CMS.Core 12.18.0; (Or a related package);
Sep 19, 2023
AFORM-3527
  Cleanup Job error occurs when you set Retention policy to Forever

Fixed an issue that occurred in the Cleanup job if you set Retention policy to Forever.

EPiServer.Forms 5.6.1; (Or a related package);
Sep 19, 2023
AFORM-3439
  Could not save data on Rich text on Mongo Mode

Fixed an issue that prevented properties from being saved when you were in MongoDbPermanentStorage mode.

EPiServer.Forms 5.6.1; (Or a related package);
Sep 19, 2023
AFORM-3467
  Cannot submit the form after session expired

Fixed an issue that prevented you from submitting a form if your session had expired before you went to the next step or submitted the form.

EPiServer.Forms 5.6.1; (Or a related package);
Sep 19, 2023
AFORM-3458
  Cannot set header for a StaticFile

Fixed an issue that prevented you from setting a header for StaticFile.

Added the following option to the Forms section in appsettings.json.

"Forms": {
  "FormsConfigOptions": {
    "StaticFilesHeaders": {
      "Strict-Transport-Security": "max-age=63072000; includeSubDomains; preload"
    }
  } 
}

To test this:

  1. Show a page that has a form.
  2. Press F12.
  3. Open the Network tab.
  4. Verify that the  /Util/Episerver.Forms/EpiserverForms.js and /Util/Episerver.Forms/jquery-3.5.1.min.js URLs have a header:

"Strict-Transport-Security": "max-age=63072000; includeSubDomains; preload"

EPiServer.Forms 5.6.1; (Or a related package);
Sep 19, 2023
AFORM-3451
  After form submission, the content of display message is duplicated when WorkInNonJSMode = true

Fixed an issue that occurred after a form was submitted, which duplicated the content of a display message when WorkInNonJSMode = true.

EPiServer.Forms 5.6.1; (Or a related package);
Sep 19, 2023
AFORM-3452
  Show error 405: Method Not Allowed when setting renderingFormUsingDivElement =true in appsettings.json

Fixed an issue that prevented you from going to the next step in a form when you set renderingFormUsingDivElement ="true" in appsettings.json.

EPiServer.Forms 5.6.1; (Or a related package);
Sep 19, 2023
AFORM-3478
  Cannot display form if a previous form had data on "Display message after submission"

Fixed an issue that did not display a second form if the first form had Display message after form submission.

EPiServer.Forms 5.6.1; (Or a related package);
Sep 19, 2023
GA-471
  Security Improvement

Improved security to mitigate a high-severity security vulnerability that might give an attacker access to sensitive data in the application.

Read more at: https://world.optimizely.com/blogs/bien-nguyen/dates/2023/9/vulnerability-in-episerver-googleanalytics--v3-and-v4/

EPiServer.GoogleAnalytics 4.2.0; (Or a related package);
Sep 19, 2023

Other product release notes

Related topics

Last updated: Sep 19, 2023