Repository navigation
core: Form friendly error on uniqueness constraint. - #23864
Merged
Merged
Conversation
✅ Deploy Preview for authentik-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #23864 +/- ##
==========================================
+ Coverage 93.19% 93.23% +0.03%
==========================================
Files 1043 1043
Lines 60992 60989 -3
Branches 424 424
==========================================
+ Hits 56840 56861 +21
+ Misses 4152 4128 -24
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
Contributor
|
authentik PR Installation instructions Instructions for docker-composeAdd the following block to your AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-640b9dba923bb152318526fdaf85b7072052ba1b
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)sAfterwards, run the upgrade commands from the latest release notes. Instructions for KubernetesAdd the following block to your authentik:
outposts:
container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
image:
repository: ghcr.io/goauthentik/dev-server
tag: gh-640b9dba923bb152318526fdaf85b7072052ba1bAfterwards, run the upgrade commands from the latest release notes. |
BeryJu
approved these changes
Jul 9, 2026
Contributor
|
🍒 Cherry-pick to |
kensternberg-authentik
added a commit
that referenced
this pull request
Jul 9, 2026
* main: (34 commits) lifecycle/container: increase start time to 120s (#23896) ci: fix fork checks (#23894) root: fix docker compose pg volume path for compatibility with pg18 (#23883) ci: better image building (#23359) core: bump library/postgres from 16 to 18 in /scripts (#23812) core: Form friendly error on uniqueness constraint. (#23864) packages: migrate shared pins to the pnpm catalog: protocol (#23784) core, web: update translations (#23863) core: bump github.com/coreos/go-oidc/v3 from 3.19.0 to 3.20.0 (#23867) core: bump github.com/pires/go-proxyproto from 0.13.0 to 0.14.0 (#23868) core: bump golang.org/x/sync from 0.21.0 to 0.22.0 (#23866) core: bump library/node from `a1d9d67` to `ffc7838` in /lifecycle/container (#23871) core: bump axllent/mailpit from v1.30.3 to v1.30.4 in /tests/e2e (#23869) core: bump goauthentik/fips-python from `0d4cd1a` to `80d28af` in /lifecycle/container (#23872) core: bump library/golang from `756f3b7` to `ee5a795` in /lifecycle/container (#23873) core: bump library/node from 26.4.0-trixie to 26.5.0-trixie in /website (#23874) web: fix table refresh button not refreshing table data (#23780) endpoints: handle exception in connector controller sync setup (#23852) internal/outpost/ak: handle empty outpost list during refresh (#23827) web/admin/stages/captcha: fix float values in score tresholds fix provider parsing (#22782) ...
kensternberg-authentik
added a commit
that referenced
this pull request
Jul 9, 2026
* web/cleanup/task-card: (35 commits) Just trying to make life a little better. lifecycle/container: increase start time to 120s (#23896) ci: fix fork checks (#23894) root: fix docker compose pg volume path for compatibility with pg18 (#23883) ci: better image building (#23359) core: bump library/postgres from 16 to 18 in /scripts (#23812) core: Form friendly error on uniqueness constraint. (#23864) packages: migrate shared pins to the pnpm catalog: protocol (#23784) core, web: update translations (#23863) core: bump github.com/coreos/go-oidc/v3 from 3.19.0 to 3.20.0 (#23867) core: bump github.com/pires/go-proxyproto from 0.13.0 to 0.14.0 (#23868) core: bump golang.org/x/sync from 0.21.0 to 0.22.0 (#23866) core: bump library/node from `a1d9d67` to `ffc7838` in /lifecycle/container (#23871) core: bump axllent/mailpit from v1.30.3 to v1.30.4 in /tests/e2e (#23869) core: bump goauthentik/fips-python from `0d4cd1a` to `80d28af` in /lifecycle/container (#23872) core: bump library/golang from `756f3b7` to `ee5a795` in /lifecycle/container (#23873) core: bump library/node from 26.4.0-trixie to 26.5.0-trixie in /website (#23874) web: fix table refresh button not refreshing table data (#23780) endpoints: handle exception in connector controller sync setup (#23852) internal/outpost/ak: handle empty outpost list during refresh (#23827) ...
kensternberg-authentik
added a commit
that referenced
this pull request
Jul 9, 2026
* web/cleanup/task-card-3: (38 commits) Just trying to make life a little better. web/bug: harmonize and make routine the display of tasks (part 3: problem children) Just trying to make life a little better. Just trying to make life a little better. lifecycle/container: increase start time to 120s (#23896) ci: fix fork checks (#23894) root: fix docker compose pg volume path for compatibility with pg18 (#23883) ci: better image building (#23359) core: bump library/postgres from 16 to 18 in /scripts (#23812) core: Form friendly error on uniqueness constraint. (#23864) packages: migrate shared pins to the pnpm catalog: protocol (#23784) core, web: update translations (#23863) core: bump github.com/coreos/go-oidc/v3 from 3.19.0 to 3.20.0 (#23867) core: bump github.com/pires/go-proxyproto from 0.13.0 to 0.14.0 (#23868) core: bump golang.org/x/sync from 0.21.0 to 0.22.0 (#23866) core: bump library/node from `a1d9d67` to `ffc7838` in /lifecycle/container (#23871) core: bump axllent/mailpit from v1.30.3 to v1.30.4 in /tests/e2e (#23869) core: bump goauthentik/fips-python from `0d4cd1a` to `80d28af` in /lifecycle/container (#23872) core: bump library/golang from `756f3b7` to `ee5a795` in /lifecycle/container (#23873) core: bump library/node from 26.4.0-trixie to 26.5.0-trixie in /website (#23874) ...
kensternberg-authentik
added a commit
that referenced
this pull request
Jul 9, 2026
…card-2 * web/cleanup/schedule-card-1: (38 commits) Just trying to make life a little better. web/bug: harmonize and make routine the display of tasks (part 3: problem children) Just trying to make life a little better. Just trying to make life a little better. lifecycle/container: increase start time to 120s (#23896) ci: fix fork checks (#23894) root: fix docker compose pg volume path for compatibility with pg18 (#23883) ci: better image building (#23359) core: bump library/postgres from 16 to 18 in /scripts (#23812) core: Form friendly error on uniqueness constraint. (#23864) packages: migrate shared pins to the pnpm catalog: protocol (#23784) core, web: update translations (#23863) core: bump github.com/coreos/go-oidc/v3 from 3.19.0 to 3.20.0 (#23867) core: bump github.com/pires/go-proxyproto from 0.13.0 to 0.14.0 (#23868) core: bump golang.org/x/sync from 0.21.0 to 0.22.0 (#23866) core: bump library/node from `a1d9d67` to `ffc7838` in /lifecycle/container (#23871) core: bump axllent/mailpit from v1.30.3 to v1.30.4 in /tests/e2e (#23869) core: bump goauthentik/fips-python from `0d4cd1a` to `80d28af` in /lifecycle/container (#23872) core: bump library/golang from `756f3b7` to `ee5a795` in /lifecycle/container (#23873) core: bump library/node from 26.4.0-trixie to 26.5.0-trixie in /website (#23874) ...
kensternberg-authentik
added a commit
that referenced
this pull request
Jul 9, 2026
…card-3-problem-children * web/cleanup/schedule-card-2: (39 commits) Just trying to make life a little better. Just trying to make life a little better. web/bug: harmonize and make routine the display of tasks (part 3: problem children) Just trying to make life a little better. Just trying to make life a little better. lifecycle/container: increase start time to 120s (#23896) ci: fix fork checks (#23894) root: fix docker compose pg volume path for compatibility with pg18 (#23883) ci: better image building (#23359) core: bump library/postgres from 16 to 18 in /scripts (#23812) core: Form friendly error on uniqueness constraint. (#23864) packages: migrate shared pins to the pnpm catalog: protocol (#23784) core, web: update translations (#23863) core: bump github.com/coreos/go-oidc/v3 from 3.19.0 to 3.20.0 (#23867) core: bump github.com/pires/go-proxyproto from 0.13.0 to 0.14.0 (#23868) core: bump golang.org/x/sync from 0.21.0 to 0.22.0 (#23866) core: bump library/node from `a1d9d67` to `ffc7838` in /lifecycle/container (#23871) core: bump axllent/mailpit from v1.30.3 to v1.30.4 in /tests/e2e (#23869) core: bump goauthentik/fips-python from `0d4cd1a` to `80d28af` in /lifecycle/container (#23872) core: bump library/golang from `756f3b7` to `ee5a795` in /lifecycle/container (#23873) ...
PeshekDotDev
pushed a commit
that referenced
this pull request
Jul 21, 2026
… to version-2026.5) (#23881) core: Form friendly error on uniqueness constraint. (#23864) Ensure proper error is thrown on uniqueness constraint. Co-authored-by: Teffen Ellis <[email protected]> Co-authored-by: Jens L. <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Details
This PR fixes a small bug I encountered when creating a new prompt stage. The name "foobar" already existed, which caused an
IntegrityErrordue to the unique constraint on the stage name. This is correct, but the front-end form error handler expected a more typical API error response, rather than a full Django error page.