Skip to content

fix: Notes app on a space page named wiki displays personal notes - EXO-89534 - #1754

Merged
AzmiTouil merged 1 commit into
developfrom
merge-exo-89534
Aug 26, 2026
Merged

fix: Notes app on a space page named wiki displays personal notes - EXO-89534#1754
AzmiTouil merged 1 commit into
developfrom
merge-exo-89534

Conversation

@AzmiTouil

Copy link
Copy Markdown
Contributor

The legacy wiki-to-notes redirect filter rewrote any URL containing a "wiki" segment to "notes", unconditionally. A space page whose node URI is "wiki" was therefore never rendered: the request was redirected to a "notes" node the space does not have, the portal fell back to the global portal-site notes page, and outside the group site the Notes app resolves the viewer's personal notebook instead of the space one.

The filter now redirects only genuinely legacy URLs: it resolves the site addressed by the URL (group, space id or portal forms) and skips the rewrite when that site's navigation actually contains a "wiki" node, so the page renders in its own site context and the Notes app picks the space notebook. A "wiki" segment at the site-name position is no longer rewritten, and the redirect now preserves the query string. Unresolvable sites keep the previous behavior (redirect), as do WikiPortlet URLs.

…XO-89534 (#1753)

The legacy wiki-to-notes redirect filter rewrote any URL containing a
"wiki" segment to "notes", unconditionally. A space page whose node URI
is "wiki" was therefore never rendered: the request was redirected to a
"notes" node the space does not have, the portal fell back to the global
portal-site notes page, and outside the group site the Notes app
resolves the viewer's personal notebook instead of the space one.

The filter now redirects only genuinely legacy URLs: it resolves the
site addressed by the URL (group, space id or portal forms) and skips
the rewrite when that site's navigation actually contains a "wiki" node,
so the page renders in its own site context and the Notes app picks the
space notebook. A "wiki" segment at the site-name position is no longer
rewritten, and the redirect now preserves the query string. Unresolvable
sites keep the previous behavior (redirect), as do WikiPortlet URLs.
@AzmiTouil
AzmiTouil enabled auto-merge (squash) August 26, 2026 13:07
@AzmiTouil
AzmiTouil requested a review from ahamdi August 26, 2026 13:07
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
56.2% Coverage on New Code (required ≥ 60%)

See analysis details on SonarQube Cloud

@AzmiTouil
AzmiTouil merged commit 3548eec into develop Aug 26, 2026
10 of 11 checks passed
@AzmiTouil
AzmiTouil deleted the merge-exo-89534 branch August 26, 2026 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants