[PR #877] [MERGED] Hotfix for DDC-1787 #8837

Open
opened 2026-01-22 16:01:55 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/877
Author: @aaronmu
Created: 12/14/2013
Status: Merged
Merged: 12/14/2013
Merged by: @Ocramius

Base: masterHead: DDC-1787


📝 Commits (2)

📊 Changes

2 files changed (+67 additions, -4 deletions)

View changed files

📝 lib/Doctrine/ORM/Persisters/JoinedSubclassPersister.php (+4 -4)
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1787Test.php (+63 -0)

📄 Description

Using joined table inheritance, when persisting multiple new entities
that are subclasses of a baseclass that has the @Version attribute set,
only the last persisted entity will have it's version set.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/doctrine/orm/pull/877 **Author:** [@aaronmu](https://github.com/aaronmu) **Created:** 12/14/2013 **Status:** ✅ Merged **Merged:** 12/14/2013 **Merged by:** [@Ocramius](https://github.com/Ocramius) **Base:** `master` ← **Head:** `DDC-1787` --- ### 📝 Commits (2) - [`600af3e`](https://github.com/doctrine/orm/commit/600af3e617e511a8fe843cba22357beec519e104) Add failing test for DDC-1787. - [`3cc6307`](https://github.com/doctrine/orm/commit/3cc630798b630f66eafe940a9eee7521f1bd9a6e) Fix DDC-1787. ### 📊 Changes **2 files changed** (+67 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/Persisters/JoinedSubclassPersister.php` (+4 -4) ➕ `tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1787Test.php` (+63 -0) </details> ### 📄 Description Using joined table inheritance, when persisting multiple new entities that are subclasses of a baseclass that has the @Version attribute set, only the last persisted entity will have it's version set. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
admin added the pull-request label 2026-01-22 16:01:55 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#8837