Skip to content

fix: Fix restore default pages option - EXO-88526 - eXIP7.3.0.9#545

Merged
MayTekayaa merged 1 commit into
feature/devxfrom
EXO-88526
Jul 21, 2026
Merged

fix: Fix restore default pages option - EXO-88526 - eXIP7.3.0.9#545
MayTekayaa merged 1 commit into
feature/devxfrom
EXO-88526

Conversation

@MayTekayaa

Copy link
Copy Markdown
Contributor

Prior to this change, "Restore default pages" used MERGE import mode, which only adds or updates pages and navigation — it never removes anything, so a manually created page, or a navigation node produced by copy/paste, stayed in place after a restore.
This change switches the restore action to the new RESTORE_DEFAULTS import mode (introduced in the companion gatein-portal change) instead: it behaves like MERGE for anything outside a default page (so independent custom content at the site's navigation root is always preserved), but destroys orphan nodes nested inside a default page/section (e.g. a page added, pasted, or left behind inside an existing section) — restoring defaults without the collateral damage that made OVERWRITE unsafe.

@github-actions github-actions Bot added the partialCIBuild Perform Partial CI Build label Jul 21, 2026
@sonarqubecloud

Copy link
Copy Markdown

@MayTekayaa MayTekayaa changed the title fix: Fix restore default pages option - EXO-88526 fix: Fix restore default pages option - EXO-88526 - eXIP7.3.0.9 Jul 21, 2026
@MayTekayaa
MayTekayaa merged commit 40650bc into feature/devx Jul 21, 2026
6 checks passed
@MayTekayaa
MayTekayaa deleted the EXO-88526 branch July 21, 2026 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

partialCIBuild Perform Partial CI Build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant