Skip to content

[Documents] Existing Areablock editable data becomes disconnected after upgrading from Pimcore v12 to v2026.2 and saving a document - #3934

Closed
ValeriaMaltseva wants to merge 4 commits into
2025.4from
fix/areablock-key-renumbering-on-save
Closed

[Documents] Existing Areablock editable data becomes disconnected after upgrading from Pimcore v12 to v2026.2 and saving a document#3934
ValeriaMaltseva wants to merge 4 commits into
2025.4from
fix/areablock-key-renumbering-on-save

Automatic frontend build

ba1501e
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jul 24, 2026 in 1m 10s

Quality Gate failed

Failed conditions
1 New Major Issues (required ≤ 0)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check failure on line 195 in assets/js/src/core/modules/element/dynamic-types/definitions/document/editable/components/areablock-editable/hooks/use-areablock-editable.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `element.after(newAreaElement)` over `element.insertAdjacentElement('afterend', newAreaElement)`.

See more on https://sonarcloud.io/project/issues?id=pimcore_studio-ui-bundle&issues=AZ-UNy0y240YeRK6o8K2&open=AZ-UNy0y240YeRK6o8K2&pullRequest=3934

Check warning on line 87 in assets/js/src/core/modules/element/dynamic-types/definitions/document/editable/components/areablock-editable/areablock-editable.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use Array.isArray() instead of isArray() from lodash.

See more on https://sonarcloud.io/project/issues?id=pimcore_studio-ui-bundle&issues=AZ-UNy6M240YeRK6o8K5&open=AZ-UNy6M240YeRK6o8K5&pullRequest=3934

Check warning on line 85 in assets/js/src/core/modules/element/dynamic-types/definitions/document/editable/components/areablock-editable/hooks/use-areablock-editable.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use Array.isArray() instead of isArray() from lodash.

See more on https://sonarcloud.io/project/issues?id=pimcore_studio-ui-bundle&issues=AZ-UNy0y240YeRK6o8K1&open=AZ-UNy0y240YeRK6o8K1&pullRequest=3934

Check warning on line 92 in assets/js/src/core/modules/element/dynamic-types/definitions/document/editable/components/areablock-editable/utils/areablock-utils.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseInt` over `parseInt`.

See more on https://sonarcloud.io/project/issues?id=pimcore_studio-ui-bundle&issues=AZ-UNy5w240YeRK6o8K3&open=AZ-UNy5w240YeRK6o8K3&pullRequest=3934

Check warning on line 93 in assets/js/src/core/modules/element/dynamic-types/definitions/document/editable/components/areablock-editable/utils/areablock-utils.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseInt` over `parseInt`.

See more on https://sonarcloud.io/project/issues?id=pimcore_studio-ui-bundle&issues=AZ-UNy5w240YeRK6o8K4&open=AZ-UNy5w240YeRK6o8K4&pullRequest=3934