Skip to content

fix(appconfig): hasKey() working on lexicon entry set as lazy - #63912

Merged
susnux merged 1 commit into
masterfrom
fix/noid/haskey-on-lexicon-entry-set-as-lazy
Dec 6, 2026
Merged

susnux merged 1 commit into
masterfrom
fix/noid/haskey-on-lexicon-entry-set-as-lazy

Conversation

@ArtificialOwl

@ArtificialOwl ArtificialOwl commented Sep 1, 2026 •

Copy link
Copy Markdown
Member

There is a strange behavior currently that calling IAppConfig::hasKey() on a key set as Lazy in ConfigLexicon will not check for lazy keys.
This fixes it.

  • This uses updateLazy() in case we need to update the lazy flag.
  • Changes in isLazy() to not use hasKey() as it will loop.

@ArtificialOwl
ArtificialOwl requested a review from a team as a code owner September 1, 2026 19:15
@ArtificialOwl
ArtificialOwl requested review from Altahrim, icewind1991, provokateurin and sorbaugh and removed request for a team September 1, 2026 19:15
@ArtificialOwl

Copy link
Copy Markdown
Member Author

/backport to stable35

@ArtificialOwl

Copy link
Copy Markdown
Member Author

/backport to stable34

@ArtificialOwl

Copy link
Copy Markdown
Member Author

/backport to stable33

@ArtificialOwl ArtificialOwl added the 3. to review Waiting for reviews label Sep 1, 2026
@ArtificialOwl ArtificialOwl added this to the Nextcloud 36 milestone Sep 1, 2026
@ArtificialOwl
ArtificialOwl force-pushed the fix/noid/haskey-on-lexicon-entry-set-as-lazy branch from b3a4081 to 6cc320b Compare September 2, 2026 11:53
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Assisted-by: ClaudeCode:claude-opus-5-5
@susnux
susnux force-pushed the fix/noid/haskey-on-lexicon-entry-set-as-lazy branch from 6cc320b to 5ccde3f Compare December 6, 2026 13:08
@nextcloud nextcloud deleted a comment from ArtificialOwl Dec 6, 2026
@susnux
susnux merged commit 5dd782b into master Dec 6, 2026
151 of 154 checks passed
@susnux
susnux deleted the fix/noid/haskey-on-lexicon-entry-set-as-lazy branch December 6, 2026 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews AI assisted

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants