Skip to content

Conversation

@nfebe
Copy link
Contributor

@nfebe nfebe commented Oct 21, 2025

The federation app is not always installed, causing QueryException when OCA\Federation\TrustedServers is injected as a hard dependency.

See : https://github.com/nextcloud/server/pull/55080/files#r2438677009

Thanks to @nickvergessen for catching this.

@nfebe nfebe added the 3. to review Waiting for reviews label Oct 21, 2025
@nfebe nfebe requested a review from a team as a code owner October 21, 2025 22:18
@nfebe nfebe requested review from salmart-dev and removed request for a team October 21, 2025 22:18
@github-project-automation github-project-automation bot moved this to 🏗️ In progress in 📁 Files team Oct 21, 2025
The federation app is not always installed, causing QueryException when
`OCA\Federation\TrustedServers` is injected as a hard dependency.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
@nickvergessen nickvergessen merged commit f050c32 into master Oct 22, 2025
198 of 202 checks passed
@nickvergessen nickvergessen deleted the fix/federation-optional-dependency branch October 22, 2025 08:54
nfebe added a commit that referenced this pull request Nov 11, 2025
The federation app is not always installed, causing errors when
TrustedServers is injected as a hard dependency. This change makes
the dependency optional by using nullable types and null-safe
operators, defaulting to false when unavailable.

Modified backport of #55893 which are required for
the stable31 backport to function correctly.
nfebe added a commit that referenced this pull request Nov 11, 2025
The federation app is not always installed, causing errors when
TrustedServers is injected as a hard dependency. This change makes
the dependency optional by using nullable types and null-safe
operators, defaulting to false when unavailable.

Modified backport of #55893 which are required for
the stable31 backport to function correctly.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
nfebe added a commit that referenced this pull request Nov 11, 2025
The federation app is not always installed, causing errors when
TrustedServers is injected as a hard dependency. This change makes
the dependency optional by using nullable types and null-safe
operators, defaulting to false when unavailable.

Modified backport of #55893 which are required for
the stable31 backport to function correctly.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
@nextcloud-bot nextcloud-bot mentioned this pull request Jan 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: 🏗️ In progress

Development

Successfully merging this pull request may close these issues.

4 participants