Skip to content

Use stable org id for org updates#23

Merged
jguo144 merged 1 commit into
masterfrom
jguo144/2026-04-17/fix-org-rename
Apr 17, 2026
Merged

Use stable org id for org updates#23
jguo144 merged 1 commit into
masterfrom
jguo144/2026-04-17/fix-org-rename

Conversation

@jguo144
Copy link
Copy Markdown
Collaborator

@jguo144 jguo144 commented Apr 17, 2026

Description

Fixes HTTP 404 when saving an organization edit after changing the URL slug with orgportals enabled. The overridden organization_update now loads the existing org using id (current slug/id) instead of name (new slug). After a successful rename, org portal rows in orgportal_pages and orgportal_subdashboard are updated so org_name matches the new slug.

Copy link
Copy Markdown

@orca-security-us orca-security-us Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca

Copy link
Copy Markdown

@surajdeval surajdeval left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jguo144 jguo144 merged commit 84f9467 into master Apr 17, 2026
5 checks passed
@jguo144 jguo144 deleted the jguo144/2026-04-17/fix-org-rename branch April 17, 2026 18:03
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