Skip to content

fix: Avoid NPE when page not found - EXO-88179#524

Merged
boubaker merged 1 commit into
developfrom
EXO-88179
Jul 1, 2026
Merged

fix: Avoid NPE when page not found - EXO-88179#524
boubaker merged 1 commit into
developfrom
EXO-88179

Conversation

@boubaker

@boubaker boubaker commented Jul 1, 2026

Copy link
Copy Markdown
Member

Prior to this change, when a page is deleted, an NPE is thrown rather than returning null as Page Key. This change avoids the NPe and let the Parmission ACL return false when the Page Key is returned as null.

Prior to this change, when a page is deleted, an NPE is thrown rather than returning null as Page Key. This change avoids the NPe and let the Parmission ACL return false when the Page Key is returned as null.
@boubaker boubaker requested review from AzmiTouil, ahamdi and sofyenne July 1, 2026 07:14
@boubaker boubaker enabled auto-merge (squash) July 1, 2026 07:14
@boubaker boubaker merged commit 3e33dcb into develop Jul 1, 2026
14 checks passed
@boubaker boubaker deleted the EXO-88179 branch July 1, 2026 07:19
@sonarqubecloud

sonarqubecloud Bot commented Jul 1, 2026

Copy link
Copy Markdown

Jihed525 pushed a commit that referenced this pull request Jul 1, 2026
Prior to this change, when a page is deleted, an NPE is thrown rather
than returning null as Page Key. This change avoids the NPe and let the
Parmission ACL return false when the Page Key is returned as null.

(cherry picked from commit 3e33dcb)
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.

3 participants