Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

fix(settings): skip default resolution for explicit values - #2153

Open
whoalin1 wants to merge 1 commit into
nextcloud:mainfrom
whoalin1:devin/1795947600-settings-default-check
Open

whoalin1 wants to merge 1 commit into
nextcloud:mainfrom
whoalin1:devin/1795947600-settings-default-check

Conversation

@whoalin1

Copy link
Copy Markdown

Summary

Resolves #1551.

Explicit non-null setting values no longer resolve their default merely to compare against it. This avoids unnecessary filesystem work for the notes path and follows the maintainer feedback on #1543; null values are still omitted.

Validation

  • Full PHPUnit unit suite passed: 101 tests, 244 assertions, in PHP 8.3 Docker
  • Focused SettingsServiceTest: 2 tests, 3 assertions
  • PHP syntax checks passed
  • php-cs-fixer dry-run passed for both changed files

Not run: live Nextcloud instance validation.

AI disclosure

Implemented and validated with Devin assistance; the contributor reviewed and submits this pull request.

Resolving default settings can require filesystem access, especially for the notes path. Explicit non-null values no longer trigger that lookup only to compare the value with the default; they are written directly, while null values are still omitted.

Assisted-by: Devin:adaptive

Signed-off-by: Man Alin <whoalin414@gmail.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@whoalin1
whoalin1 force-pushed the devin/1795947600-settings-default-check branch from 3bf87b3 to f773b9a Compare November 29, 2026 16:04
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.

Remove default check

1 participant