Skip to content

Move InvalidAccountException to account package #1342

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 12, 2025

Conversation

rfc2822
Copy link
Member

@rfc2822 rfc2822 commented Mar 11, 2025

Away from root package

@rfc2822 rfc2822 added the refactoring Internal improvement of existing functions label Mar 11, 2025
@rfc2822 rfc2822 requested a review from sunkup March 11, 2025 23:05
@rfc2822 rfc2822 self-assigned this Mar 11, 2025
Copy link
Member

@sunkup sunkup left a comment

Choose a reason for hiding this comment

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

Looks alright 👍

How come AccountRepository.rename will throw InvalidAccountException when the account does not exist? I can't see the method or the service repository throwing InvalidAccountException.

https://github.com/bitfireAT/davx5-ose/pull/1342/files#diff-954ef783acf4b5c0bcb7be1f0c0babf0ba0d09bc851350134153a16b0e3e00f3R174

@github-project-automation github-project-automation bot moved this from Todo to In Progress in DAVx⁵ Releases Mar 12, 2025
@sunkup sunkup moved this from In Progress to In Review in DAVx⁵ Releases Mar 12, 2025
@rfc2822
Copy link
Member Author

rfc2822 commented Mar 12, 2025

How come AccountRepository.rename will throw InvalidAccountException when the account does not exist? I can't see the method or the service repository throwing InvalidAccountException.

automaticSyncManager.updateAutomaticSync() may call enableAutomaticSync(), which creates AccountSettings. Guess that's the reason

@rfc2822 rfc2822 merged commit 7703c3c into main-ose Mar 12, 2025
8 checks passed
@rfc2822 rfc2822 deleted the accountexception-package branch March 12, 2025 10:04
@github-project-automation github-project-automation bot moved this from In Review to Done in DAVx⁵ Releases Mar 12, 2025
rfc2822 added a commit that referenced this pull request Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Internal improvement of existing functions
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants