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
Marco Pivetta
3155d970d3
#6613 #6614 adding assertions about collection initialization and dirty status
2017-08-11 21:21:40 +02:00
Marco Pivetta
09189fc021
#6613 #6614 removing IDE-generated header
2017-08-11 21:21:36 +02:00
Marco Pivetta
5a0d3e5fb8
#6613 #6614 removing phone/user specifics, using ORM naming for associations
2017-08-11 21:21:27 +02:00
Marco Pivetta
b9ba4e3207
#6613 #6614 correcting column mapping (was integer
, should be string
), segregating phone creation away
2017-08-11 21:21:24 +02:00
Marco Pivetta
d7919678e5
#6613 #6614 remove superfluous mappings
2017-08-11 21:21:21 +02:00
Marco Pivetta
8b185eb822
#6613 #6614 rewrote test logic to be less magic-constant-dependent
2017-08-11 21:21:17 +02:00
Marco Pivetta
693a0546d3
#6613 #6614 CS - applying @group
annotation to the test
2017-08-11 21:21:14 +02:00
Marco Pivetta
5c5c8fc487
#6613 #6614 removing dedicated DDC6613 model directory
2017-08-11 21:21:10 +02:00
Marco Pivetta
85dc707cc8
#6613 #6614 smashing entity definitions into the test
2017-08-11 21:21:03 +02:00
Marco Pivetta
64a1251b61
#6613 #6614 better test specification - removing useless assertions
2017-08-11 21:20:42 +02:00
Marco Pivetta
65ed6a2c2f
#6613 #6614 simplifying entity definition - using auto-assigned string identifiers to reduce moving parts
2017-08-11 21:20:34 +02:00
Marco Pivetta
d27a9fce7a
Merge pull request #6580 from Tobion/patch-1
...
Allow DBAL 2.6 and common 2.8 to be installed
2017-07-25 05:02:26 +02:00
Tobias Schultze
11659f5cfe
Allow common 2.8 to be installed
2017-07-24 16:38:01 +02:00
Tobias Schultze
68dad26482
Allow DBAL 2.6 to be installed
...
DBAL 2.6 is released but currently dependencies can't be resolved as ORM 2.5 does not allow DBAL 2.6 and ORM 2.6 is not relased yet.
2017-07-24 16:27:53 +02:00
Marco Pivetta
b3ceef0fb6
Merge branch 'fix/#6550-correct-return-value-of-extra-lazy-removeElement-calls' into 2.5
...
Backport #6550 to 2.5
2017-07-22 09:27:30 +02:00
Andreas Braun
095b365146
Add test for removing element not in collection
2017-07-22 09:27:13 +02:00
Andreas Braun
7c1ebd99bc
Fix return of removeElement on collections
...
Fixes #5745
2017-07-22 09:27:01 +02:00
Marco Pivetta
c06f19db8d
Merge branch 'fix/#1515-clean-hydrator-listeners-on-hydration-end-2.5' into 2.5
...
Close #1515
This is a backport of the original PR - the same patch should land in `master` too, after a cleanup
2017-06-24 03:23:19 +02:00
Emiel Nijpels
0be9be4e24
DDC-3146 remove event listener from event listener in abstract hydrator in cleanup function
2017-06-24 03:23:01 +02:00
Luís Cobucci
b2bf5ee92e
Leave PHP 7.1 and nightly to master
2017-06-22 07:57:54 +02:00
Luís Cobucci
698bd813a2
Remove HHVM from build
2017-06-22 07:46:45 +02:00
Jáchym Toušek
b2ac8fdfd7
Fix CountOutputWalker for queries with GROUP BY
2017-06-22 07:15:35 +02:00
Marco Pivetta
9c2b54b748
Adding classes required by the SchemaToolTest
that exist in 'master', but not in '2.5'
2017-06-21 07:27:41 +02:00
Marco Pivetta
910784213f
Corrected duplicate import statements due to cherry picking
2017-06-21 06:49:45 +02:00
Marco Pivetta
1d1de7de80
Merge branch 'fix/#5798-undefined-schema-tool-index-2.5' into 2.5
...
Close #5798
2017-06-21 06:32:00 +02:00
Sergey Fedotov
741da6eed7
Fix undefined index for discriminator column in SchemaTool
2017-06-21 06:31:23 +02:00
Marco Pivetta
ad5397b581
Merge branch 'fix/#5715-fix-metadata-filtering-in-cli-tools-2.5' into 2.5
...
Close #5715
2017-06-21 06:15:42 +02:00
Guilliam Xavier
57bb46ca9d
Add regex tests for MetadataFilter (PR #507 )
2017-06-21 06:15:25 +02:00
Guilliam Xavier
0416d5e036
Add more basic tests for MetadataFilter
2017-06-21 06:15:14 +02:00
Guilliam Xavier
a14432117a
Fix MetadataFilter not testing filters after first
2017-06-21 06:15:01 +02:00
Guilliam Xavier
824f62d3bb
Add failing test for #5715 (unit test for MetadataFilter)
2017-06-21 06:14:48 +02:00
Marco Pivetta
c0f0fe060f
Merge branch 'fix/#1541-minor-docblock-correction-in-resultset-mapping-builder' into 2.5
...
Backport #1541 to 2.5
2017-05-20 16:45:59 +02:00
aleeeftw
caffbe04a2
Minor docblock correction
...
The documentation for the method ‘addJoinedEntityFromClassMetadata’ is
wrong. As we can see currently says you need to pass an object and that
is wrong. The $relation variable is passed to ‘addJoinedEntityResult’
which is using it as a ‘string’.
2017-05-20 16:45:25 +02:00