Skip to content

upstream: Prevent 500 if no project members have been provided (goharbor/harbor#23642) - #569

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
upstream/cherry-pick-23642-6e827641a
Open

upstream: Prevent 500 if no project members have been provided (goharbor/harbor#23642)#569
github-actions[bot] wants to merge 1 commit into
mainfrom
upstream/cherry-pick-23642-6e827641a

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Summary

Cherry-picks upstream Harbor commit 6e827641a from goharbor/harbor#23642.

Upstream Context

Cherry-Pick Status

Upstream Description

Fail softly with a 400 error and an appropriate error message if no members are provided in the POST /api/v2.0/projects/{id}/members request.

Comprehensive Summary of your change

Issue being fixed

Fixes #23639

Please indicate you've done the following:

  • Well Written Title and Summary of the PR
  • Label the PR as needed. "release-note/ignore-for-release, release-note/new-feature, release-note/update, release-note/enhancement, release-note/community, release-note/breaking-change, release-note/docs, release-note/infra, release-note/deprecation"
  • Accepted the DCO. Commits without the DCO will delay acceptance.
  • Made sure tests are passing and test coverage is added if needed.
  • Considered the docs impact and opened a new docs issue or PR with docs changes if needed in website repository.

Review Notes

  • Generated by the upstream cherry-pick workflow.
  • One upstream commit maps to one Harbor Next PR.
  • If this PR is closed without merge, the workflow will not recreate it.

Upstream-Commit: 6e827641a61079b29311cd1c06ef465fdf650534
Upstream-PR: goharbor/harbor#23642
Cherry-Pick-Status: clean

…bor/harbor#23642)

Signed-off-by: Yannick Müller <mail@ynnk.dev>
Co-authored-by: Wang Yan <wangyan_0219@hotmail.com>

(cherry picked from commit 6e827641a61079b29311cd1c06ef465fdf650534)

Upstream-Commit: 6e827641a61079b29311cd1c06ef465fdf650534
Upstream-PR: goharbor/harbor#23642
Upstream-Author: @Yanni8
Cherry-Pick-Status: clean
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

0 participants