Vitaliy Chesnokov
fee2cbe6b4
Make code php 7.3 lint-compatible
2019-07-10 15:04:29 +03:00
1on
6f5b001a6b
Clean post flush event added. Triggered after post flush after all clears. Event is flush-safe
2018-03-28 12:38:22 +03:00
Sergey Linnik
b3805549d9
Handle all errors in UnitOfWork commit
2017-08-31 11:38:49 +03:00
Ilyas Salikhov
9a0089c5fa
Remove final keyword from Query classes
2017-08-31 11:36:57 +03:00
Marco Pivetta
36dc28d43e
Merge pull request #6635 from davidbarratt/instantiator
...
Allow installation of `doctrine/instantiator:^1.0.1`
2017-08-19 18:47:32 +02:00
David Barratt
0ec9e53c8d
Fix doctrine/instantiator constraint
...
The current constraint prevents doctrine from being installed on PHP 7.1
2017-08-19 11:51:46 -04:00
Marco Pivetta
aa80f6c0b5
Removed PHPUnit 5.6+ API usage
2017-08-18 21:24:47 +02:00
Marco Pivetta
fd6d4890c4
Bumping development release to 2.5.11-DEV
2017-08-18 21:23:23 +02:00
Marco Pivetta
c78afd5172
Preparing v2.5.10 release
2017-08-18 21:17:35 +02:00
Marco Pivetta
fb7b78c004
Merge branch 'fix/#6633-#3788-avoid-xml-external-entity-loading-errors-in-xml-mapping-driver-2.5' into 2.5
...
Backport #6633
Backport #3788
2017-08-18 21:12:12 +02:00
Marco Pivetta
0de69e5a80
#6633 #3788 documenting why simplexml_load_file()
was not used
2017-08-18 21:10:45 +02:00
Aljosha Papsch
d7e1f883d8
XmlDriver: Avoid PHP bug #62577 by avoiding simplexml_load_file.
...
Doctrine is affected by PHP bug #62577 . simplexml_load_file is not
able to load files if libxml_disable_entity_loader(true) has been
called. simplexml_load_file fails with the message:
I/O warning : failed to load external entity "/my/mappings/my_entity.dcm.xml"
in /path-to/lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php on line 711
This error occurs even if there are no external entities in the XML file.
Waiting for the PHP bug to be resolved is infeasible, because it is
unresolved since years. Therefore Doctrine needs to circumvent the bug
by replacing simplexml_load_file with simplexml_load_string while getting
the file contents itself. simplexml_load_string is not affected by the
PHP bug.
2017-08-18 21:10:11 +02:00
Marco Pivetta
82e0d7e21a
Removing ::class
meta-constant for tests that need to run against my grandparents' PHP
2017-08-16 20:06:14 +02:00
Marco Pivetta
26880983fc
Removing ::class
meta-constant for tests that need to run against my grandparents' PHP
2017-08-16 19:24:39 +02:00
Marco Pivetta
d9899732ca
Bumping development release to v2.5.10DEV
2017-08-16 15:30:59 +02:00
Marco Pivetta
4f96fc62ce
Preparing v2.5.9 release
2017-08-16 15:30:32 +02:00
Marco Pivetta
6184343fd5
Merge branch 'fix/#6626-skip-proxy-generation-for-embeddable-classes-2.5' into 2.5
...
Backport #6626
Backport #6625
2017-08-16 15:21:29 +02:00
Marco Pivetta
ee22be27a5
#6625 #6626 removing PHP 5.3 incompatibilities (required for backport)
2017-08-16 15:21:14 +02:00
Marco Pivetta
8f77210955
#6626 #6625 minor CS fixes (removed useless assignments)
2017-08-16 15:20:10 +02:00
Issei.M
f736acc8f5
Replace double quote with single quote
2017-08-16 15:20:01 +02:00
Issei.M
f1534610e1
Fix CS / Add annotation
2017-08-16 15:18:15 +02:00
Issei.M
6622bbbbf3
Skip embeddable classes proxy generation
2017-08-16 15:18:04 +02:00
Marco Pivetta
1554af0c07
Merge branch 'fix/#6623-#1515-ensure-abstracthydrator-hydrateall-cleans-up-on-unit-of-work-clear-2.5' into 2.5
...
Close #6623
2017-08-16 14:50:13 +02:00
Nikolas Tsiongas
814aa9f322
fix AbstractHydrator addEventListener on hydrateAll()
2017-08-16 14:49:22 +02:00
Marco Pivetta
f311dd1dd1
Bumping development version to v2.5.9-DEV
2017-08-13 20:47:26 +02:00
Marco Pivetta
e3aa3f2d1d
Preparing v2.5.8 release
2017-08-13 20:46:56 +02:00
Marco Pivetta
c83f479633
Merge pull request #6621 from Powerhamster/patch-1
...
fixed undefined variable
2017-08-13 20:27:18 +02:00
Thomas Rothe
741f1db198
fixed undefined variable
...
changed $conditions to $condition so $isConditionalJoin is working
2017-08-12 11:33:11 +02:00
Marco Pivetta
22546a3811
Correcting connection existence in tearDown operations
2017-08-11 23:28:20 +02:00
Marco Pivetta
efa058bd8f
If no connection was enstablished, skip the tearDown
operations
2017-08-11 22:56:02 +02:00
Marco Pivetta
767577cec6
Removing ::class
pseudo-constant usage
2017-08-11 22:49:46 +02:00
Marco Pivetta
c0f593e422
Removing ::class
syntax to make dinosaurs run against this codebase too
2017-08-11 22:22:50 +02:00
Marco Pivetta
d89d238594
Merge branch 'fix/#6464-#6475-correct-SQL-generated-with-JTI-and-WITH-condition-2.5' into 2.5
...
Backport #6464
Backport #6475
2017-08-11 21:43:05 +02:00
Marco Pivetta
2337b7aedd
#6464 #6475 cleaning up test - removed invalid fetch join, CS
2017-08-11 21:41:05 +02:00
Stefan Siegl
9e6f061bfb
#6464 code review updates
2017-08-11 21:40:53 +02:00
Stefan Siegl
bf1188127e
generate nested join sql for CTIs, closes #6464
2017-08-11 21:40:16 +02:00
Stefan Siegl
c73ec2aa76
#6464 add test
2017-08-11 21:39:45 +02:00
Marco Pivetta
095611c4b6
Merge branch 'fix/#6614-clean-modified-collection-causing-double-dirty-object-persistence-2.5' into 2.5
...
Backport #6613
Backport #6614
Backport #6616
2017-08-11 21:25:27 +02:00
Marco Pivetta
96c6f4cf1d
#6613 #6614 #6616 removed unused import
2017-08-11 21:25:10 +02:00
Marco Pivetta
5cacb6e14f
#6613 #6614 #6616 minor performance optimisations around the new restoreNewObjectsInDirtyCollection
implementation
2017-08-11 21:23:58 +02:00
Marco Pivetta
ab63628960
#6613 #6614 #6616 removing DDC6613 test, which was fully ported to unit tests
2017-08-11 21:23:55 +02:00
Marco Pivetta
15731c7bde
#6613 #6614 #6616 ensuring that the collection is marked as non-dirty if all new items are contained in the initialized ones
2017-08-11 21:23:51 +02:00
Andreas Braun
abb429a0c9
Add failing test for dirty flag
2017-08-11 21:23:47 +02:00
Marco Pivetta
61cb03bf30
#6613 #6614 #6616 removing repeated PersistentCollectionTest
chunks of code
2017-08-11 21:23:40 +02:00
Marco Pivetta
d6bcb5b1f8
#6613 #6614 #6616 initializing a dirty collection that has new items that are also coming from initialization data de-duplicates new and persisted items
2017-08-11 21:22:59 +02:00
Marco Pivetta
bdae362777
#6613 #6614 #6616 moved integration test basics to a unit test that verifies basic dirty collection initialization semantics
2017-08-11 21:22:54 +02:00
Marco Pivetta
59c5574554
#6613 #6614 correcting broken test that isn't using objects against a PersistentCollection
2017-08-11 21:22:43 +02:00
Marco Pivetta
9545bf9d8c
#6613 #6614 correcting broken test that isn't using objects against a PersistentCollection
2017-08-11 21:22:40 +02:00
Marco Pivetta
5521d1f325
#6613 #6614 ensuring that only newly added items that weren't loaded are restored in the dirty state of the collection
2017-08-11 21:22:34 +02:00
Marco Pivetta
49694dc335
#6613 #6614 after initialization, the collection should be dirty anyway
2017-08-11 21:21:43 +02:00