DDC-3683: [GH-1380] Fix issue with second-level-cache tests and versioned entities #4523

Closed
opened 2026-01-22 14:44:01 +01:00 by admin · 3 comments
Owner

Originally created by @doctrinebot on GitHub (Apr 10, 2015).

Originally assigned to: @Ocramius on GitHub.

Jira issue originally created by user @doctrinebot:

This issue is created automatically through a Github pull request on behalf of DHager:

Url: https://github.com/doctrine/doctrine2/pull/1380

Message:

I'm not sure why this bug doesn't show normally master, but I ran across it with build 3930.1, where it complained since $targetPersister was not an instance of CachedPersister.

The immediate fix seems straightforward, because DefaultCollectionHydrator doesn't even accept the second argument.

@FabioBatSilva : Please let me know if you see some better resolution to this, or if it indicates some edge-case in the second-level-cache logic that requires a new test.

Originally created by @doctrinebot on GitHub (Apr 10, 2015). Originally assigned to: @Ocramius on GitHub. Jira issue originally created by user @doctrinebot: This issue is created automatically through a Github pull request on behalf of DHager: Url: https://github.com/doctrine/doctrine2/pull/1380 Message: I'm not sure why this bug doesn't show normally `master`, but I ran across it with build [3930.1](https://travis-ci.org/doctrine/doctrine2/jobs/57975906), where it complained since `$targetPersister` was not an instance of `CachedPersister`. The immediate fix seems straightforward, because `DefaultCollectionHydrator` doesn't even accept the second argument. @FabioBatSilva : Please let me know if you see some better resolution to this, or if it indicates some edge-case in the second-level-cache logic that requires a new test.
admin added the Bug label 2026-01-22 14:44:02 +01:00
admin closed this issue 2026-01-22 14:44:02 +01:00
Author
Owner

@doctrinebot commented on GitHub (Apr 10, 2015):

@doctrinebot commented on GitHub (Apr 10, 2015): - is required for [DDC-3681: [GH-1378] Feature to force-increment entity version](http://www.doctrine-project.org/jira/browse/DDC-3681)
Author
Owner

@doctrinebot commented on GitHub (Jul 15, 2015):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-1380] was closed:
https://github.com/doctrine/doctrine2/pull/1380

@doctrinebot commented on GitHub (Jul 15, 2015): Comment created by @doctrinebot: A related Github Pull-Request [GH-1380] was closed: https://github.com/doctrine/doctrine2/pull/1380
Author
Owner

@doctrinebot commented on GitHub (Jul 15, 2015):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Jul 15, 2015): Issue was closed with resolution "Fixed"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#4523