Skip to content

dev: fix dev-only issue with detecting SolrDocument class#1224

Merged
sourcefilter merged 1 commit into
mainfrom
dlsr-9/SolrDocument-identity
Mar 31, 2026
Merged

dev: fix dev-only issue with detecting SolrDocument class#1224
sourcefilter merged 1 commit into
mainfrom
dlsr-9/SolrDocument-identity

Conversation

@sourcefilter

Copy link
Copy Markdown
Member

In some cases, a cached object was treated as not belonging to a reloaded "SolrDocument" class. This should only happen in dev mode, but comparing based on class name instead of identity will be more robust.

This was getting in the way of testing DLSR-9, though the connection is pretty weak. I'm not sure why it didn't come up before – I assume after some upgrades we're using a changed version of the development server?

In some cases, a cached object was treated as not belonging to a reloaded "SolrDocument" class. This should only happen in dev mode, but comparing based on class name instead of identity will be more robust.

This was getting in the way of testing DLSR-9, though the connection is pretty weak. I'm not sure why it didn't come up before – I assume after some upgrades we're using a changed version of the development server?
@sourcefilter sourcefilter marked this pull request as ready for review March 31, 2026 17:48
@sourcefilter sourcefilter merged commit 52e8503 into main Mar 31, 2026
5 checks passed
@sourcefilter sourcefilter deleted the dlsr-9/SolrDocument-identity branch March 31, 2026 17:58
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.

1 participant