Conversation
The raw join condition isn't quoted, so Oracle folds the column names to upper case and doesn't find them. Every contacts search with a date filter has failed there with ORA-00904 since 28.0.0. Assisted-by: ClaudeCode:claude-opus-5-5 Signed-off-by: David Dreschner <david.dreschner@nextcloud.com>
DerDreschner
requested review from
SebastianKrupinski and
hamza221
as code owners
November 30, 2026 22:34
Member
Author
|
/backport to stable35 |
Member
Author
|
/backport to stable34 |
Member
Author
|
/backport to stable33 |
SebastianKrupinski
approved these changes
Nov 30, 2026
CarlSchwan
approved these changes
Dec 1, 2026
This was referenced Dec 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
On Oracle, every contacts search with a date filter fails with a 500 (
ORA-00904: "CP_BDAY"...), because the join condition isn't quoted and Oracle folds it to upper case. This has been the case since 28.0.0.The filter itself is unchanged: it still only checks that a contact has a birthday and doesn't compare the dates (existing FIXME in the code), so Oracle now returns the same contacts as the other databases.
How to test on Oracle (with the Contacts app):
Checklist
3. to review, feature component)stable32)AI (if applicable)