Release Notes / Version 11.2210
Table Of ContentsTypeScript Handbook Is Now Properly Provided
The link in the README of the studio-client pointed to a dead end. This has been fixed now.
(CMS-21582)
Jangaroo npm Updated to Version 1.1.3
This fixes an issue when declaring a bindable Ext Config in TypeScript with a
#
-private field name with the same name as the public property
and
adding custom logic to the
set
accessor, like in this example:
interface MyComponentConfig extends ..., Pick<MyComponent, ... | "myConfig"> { } class MyComponent ... { #myConfig: number = 42; get myConfig(): number { return this.#myConfig; } set myConfig(value: number) { this.#myConfig = value; // any custom code, otherwise the accessor will be suppressed: console.log("gotcha!"); } }
The private field used to be rewritten to a public field with the same name, so that the line
this.#myConfig = value;
resulted in an infinite recursion at run-time.
Now, the private field is rewritten to use an
_
prefix like Ext does for Configs, so in the example,
_myConfig
would be used.
As a workaround, you can use
#_myConfig
directly in the TypeScript source code, but after the fix, the
#
-private field name without underscore should be best practice.
Furthermore, Jangaroo npm 1.1.3 updates the Jest version from 26 to 28 and it is now possible to customize the
jest.config.js
as the jangaroo build will no longer regenerate it.
(CMS-21513)
Fixed JavaScript in Taxonomy Manager
Fixed a JavaScript error that was triggered through a right-click in the taxonomy manager.
(CMS-21452)
Fixed Referrer List Panel
The bindTo expression for the referrer list panel allows null values now too.
(CMS-21448)
Augmentation Folder Issue Fixed
The display name of a categories (and its parent categories) is used as storage path below the Augmentations folder. If such a category name contained a space at the end the augmentation functionality was broken (nothing happened, the error was only visible in the browser console). These illegal characters are now removed from the storage path.
(CMS-21438)
raphael.js: Added Note About False Positive SAST Report
First of all: the code is not reached by any of our usages
Even if the part were reached the assignment to innerHTML actually is escaped (some tools do seem to detect it properly)
The remaining two usages are assignments to actual properties of a DOM element which may not need to be escaped at all
(CMS-21399)
Fixed Layout of Additional Workflow Fields
The fields added as an additional workflow fields are now using the available width automatically - no additional configuration required.
(CMS-21351)
Bug Fixed where Certain Domains Caused Error in Studio Login Screen
We fixed a bug where domain names with certain character in it (e.g. '.' or '/') caused an error in the Studio loading screen.
(CMS-21255)
JavaScript Source-Maps for Some ExtJS Classes are no Longer Broken
A recent third-party dependency upgrade did break the source-maps for some of the ExtJS classes. This has been fixed now.
(CMS-21237)
Changed Editor Preferences for "Site Chooser"
The settings property "Site Chooser" has been renamed to "Site Selector". It isn't possible to hide the locale string inside the menu's dropdown button anymore. Also, the "Show Site Name" setting has been replaced with "Show Site Selector" which enables the user to hide the site selector completely. The default is false for this setting.
(CMS-21167)
State of MergeStrategyChooser is persisted in Studio
The MergeStrategyChooser has a state handling now.
(CMS-20723)
Fixed Tooltips For Pagegrid Layout Preview
The tooltips for the iconized page grid preview has been rendered with null values. The tooltips are now renderering the placement names in this preview properly.
(CMS-19997)
Fixed Firefox Lazy Loading Problem
Fixed an issue where the lazy loading of a hug amount of content items sometimes did not work for Firefox.
(CMS-18177)