[PR #322] [MERGED] In some weird situation the SimpleXmlIterator used to iterate on the ``$... #8024

Open
opened 2026-01-22 15:58:01 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/322
Author: @rande
Created: 4/2/2012
Status: Merged
Merged: 4/16/2012
Merged by: @beberlei

Base: masterHead: patch-1


📝 Commits (1)

  • 5005bbe In some weird situation the SimpleXmlIterator used to iterate on the $xmlRoot->field property just get resetted. This solution avoid this situation. This problem occurs when Symfony2 warms up cache with autogenerate proxy to true

📊 Changes

1 file changed (+8 additions, -1 deletions)

View changed files

📝 lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php (+8 -1)

📄 Description

...xmlRoot->fieldproperty just get resetted. This solution avoid this situation. This problem occurs when Symfony2 warms up cache with autogenerate proxy totrue``


🔄 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/322 **Author:** [@rande](https://github.com/rande) **Created:** 4/2/2012 **Status:** ✅ Merged **Merged:** 4/16/2012 **Merged by:** [@beberlei](https://github.com/beberlei) **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`5005bbe`](https://github.com/doctrine/orm/commit/5005bbe62b955c1665dc09485edd46d0b8497185) In some weird situation the SimpleXmlIterator used to iterate on the ``$xmlRoot->field`` property just get resetted. This solution avoid this situation. This problem occurs when Symfony2 warms up cache with autogenerate proxy to ``true`` ### 📊 Changes **1 file changed** (+8 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php` (+8 -1) </details> ### 📄 Description ...xmlRoot->field`property just get resetted. This solution avoid this situation. This problem occurs when Symfony2 warms up cache with autogenerate proxy to`true`` --- <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 15:58:01 +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#8024