DRYD-2131 Search > Qualifiers > 'is/is not' isn't recognizing dates#555
Merged
Conversation
mikejritter
approved these changes
Jul 21, 2026
mikejritter
left a comment
Contributor
There was a problem hiding this comment.
Tested each scenario and verified expected results
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.
What does this do?
Changed CoreSessionWrapper from converting NXQL timestamp literals to server-local time to converting them to UTC. Zone-qualified literals are normalized to UTC and unqualified ones are still interpreted as server-local time and then converted to UTC.
Why are we doing this? (with JIRA link)
https://collectionspace.atlassian.net/browse/DRYD-2131. The new Nuxeo version interprets all timestamp NXQL values as UTC: https://doc.nuxeo.com/nxdoc/nxql/#date-properties. The CoreSessionWrapper was still converting them to server-local time (added in DRYD-114 for older Nuxeo's local-time interpretation). On servers whose JVM runs in a non-UTC timezone, this shifted every date query by the UTC offset, so "is/is not" date searches returned no results.
How should this be tested? Do these changes have associated tests?
In order to reproduce the issue locally:
developbranch-Duser.timezone=UTCto-Duser.timezone=America/Los_Angelesand then start tomcatTesting the fix using staff UI:
America/Los_AngelesTesting the fix using different timestamp types:
Dependencies for merging? Releasing to production?
No dependencies
Has the application documentation been updated for these changes?
No changelog change necessary
Did someone actually run this code to verify it works?
@spirosdi ran it locally
Have any new security vulnerabilities been handled?
no new security vulns