Skip to content

Conversation

@CarlSchwan
Copy link
Member

Summary

UniqueConstraintViolationException is no longer throw but instead a OCP\DB\Exception is.

Checklist

Copy link
Contributor

@Antreesy Antreesy left a comment

Choose a reason for hiding this comment

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

Looks aligned with another PRs)

@CarlSchwan CarlSchwan added this to the Nextcloud 31.0.10 milestone Sep 15, 2025
@CarlSchwan CarlSchwan force-pushed the carl/fix-invalid-unique-contraint-catch branch from 9ff7b5f to 2d831fc Compare September 15, 2025 09:22
Copy link
Collaborator

@kesselb kesselb left a comment

Choose a reason for hiding this comment

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

Thank you

UniqueConstraintViolationException is no longer throw but instead a
OCP\DB\Exception is.

Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
@CarlSchwan CarlSchwan force-pushed the carl/fix-invalid-unique-contraint-catch branch from 2d831fc to 47ce9c4 Compare September 15, 2025 11:37
@CarlSchwan CarlSchwan merged commit 745ebd6 into stable31 Sep 15, 2025
207 of 220 checks passed
@CarlSchwan CarlSchwan deleted the carl/fix-invalid-unique-contraint-catch branch September 15, 2025 16:00
@CarlSchwan
Copy link
Member Author

/backport to stable30

@backportbot
Copy link

backportbot bot commented Sep 15, 2025

The backport to stable30 failed. Please do this backport manually.

# Switch to the target branch and update it
git checkout stable30
git pull origin stable30

# Create the new backport branch
git checkout -b backport/55123/stable30

# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick 47ce9c4c

# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/55123/stable30

Error: Failed to push branch backport/55123/stable30: remote: Invalid username or token. Password authentication is not supported for Git operations.
fatal: Authentication failed for 'https://github.com/nextcloud/server.git/'


Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants