[PR #805] [CLOSED] Improved test for DDC-1514 failing in some situations. #8731

Closed
opened 2026-01-22 16:01:25 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/805
Author: @flip111
Created: 9/30/2013
Status: Closed

Base: masterHead: patch-5


📝 Commits (6)

  • 00fdca0 Improved test for DDC-1514 failing in some situations.
  • c5d60de Fixed using the wrong array key [0]. And improved code.
  • 0bd6200 Corrected a variable name.
  • add2bef Fixed a variable name again.
  • 9d2255b Changed code AGAIN (facepalm). Just went with a simple foreach.
  • bffa0ec Fixed indentation

📊 Changes

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

View changed files

📝 tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1514Test.php (+8 -1)

📄 Description

The problem is that the database will not guarantee entity a2 to be the second ([1]) in the results, because when not specifying an ORDER BY any order of results can not be guaranteed by the database.

This is a partial fix for bug http://www.doctrine-project.org/jira/browse/DDC-2689


🔄 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/805 **Author:** [@flip111](https://github.com/flip111) **Created:** 9/30/2013 **Status:** ❌ Closed **Base:** `master` ← **Head:** `patch-5` --- ### 📝 Commits (6) - [`00fdca0`](https://github.com/doctrine/orm/commit/00fdca00ed6341f953a8f950e399eeba4865a1e4) Improved test for DDC-1514 failing in some situations. - [`c5d60de`](https://github.com/doctrine/orm/commit/c5d60defe4088fad127a192754edde09d2884fcc) Fixed using the wrong array key [0]. And improved code. - [`0bd6200`](https://github.com/doctrine/orm/commit/0bd62003c0a57ed5b0769b3163d5aeed4dc89e3a) Corrected a variable name. - [`add2bef`](https://github.com/doctrine/orm/commit/add2befcd78d2bee4d84610b0a3f2fdb94866951) Fixed a variable name again. - [`9d2255b`](https://github.com/doctrine/orm/commit/9d2255b1d55d82515c23717b23a1afd4a80299a6) Changed code AGAIN (facepalm). Just went with a simple foreach. - [`bffa0ec`](https://github.com/doctrine/orm/commit/bffa0ec43d6e2bd20f3e1d50d2ba3969325513c2) Fixed indentation ### 📊 Changes **1 file changed** (+8 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1514Test.php` (+8 -1) </details> ### 📄 Description The problem is that the database will not guarantee entity a2 to be the second ([1]) in the results, because when not specifying an ORDER BY any order of results can not be guaranteed by the database. This is a partial fix for bug http://www.doctrine-project.org/jira/browse/DDC-2689 --- <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:25 +01:00
admin closed this issue 2026-01-22 16:01:25 +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#8731