Jeremy
ac9a5e69ec
Properly generate default value from yml & xml mapping
2015-03-17 22:47:11 +00:00
Marco Pivetta
0a2d9fa130
#1338 - Removing redundant test case
2015-03-17 22:36:00 +00:00
Marco Pivetta
504552e779
Adding @group
annotations for newly introduced tests
2015-03-17 22:31:05 +00:00
Marco Pivetta
b721841c73
#1338 DDC-3619 - moved test to unit of work tests
2015-03-17 22:30:06 +00:00
nclavaud
b492d61398
Update identityMap when entity gets managed again
...
http://www.doctrine-project.org/jira/browse/DDC-3619
When using SoftDeleteable doctrine extension, an entity can be scheduled
for deletion, then persisted before flushing. In such a case, the entity
was removed from the unit of work identity map and no reference was
hold. This could lead to spl_object_hash collisions, and prevent
another, new entity to be persisted later.
This fix makes sure the unit of work identity map holds a reference to
the entity after it has been soft-deleted.
2015-03-17 22:19:10 +00:00
Marco Pivetta
5c89bb8c6b
#1336 DDC-3622 - removing implicit cast from string
to CustomIdObject
in entity API (confusing)
2015-03-17 21:29:30 +00:00
Marco Pivetta
712b6a7a64
#1336 DDC-3622 - adding @group
annotations for newly introduced tests
2015-03-17 21:23:16 +00:00
Marco Pivetta
11da060668
#1336 - class constants over string references in tests - removing useless QueryBuilder usage
2015-03-17 21:21:20 +00:00
Stefano Torresi
5d6a39d14c
fix tests tear down
2015-03-17 21:08:07 +00:00
Stefano Torresi
c7ad932b5f
fix copyright notices
2015-03-17 21:08:07 +00:00
Stefano Torresi
1b850fbb23
add missing return statement
2015-03-17 21:08:07 +00:00
Stefano Torresi
41e873bd72
add failing functional test for custom id object types
2015-03-17 21:08:06 +00:00
Marco Pivetta
376e74fb7e
#1333 - minor CS fixes - spacing/PSR-2
2015-03-17 20:59:56 +00:00
Jan Langer
8ac66bb608
Allow DateTimeInterface as parameter value
2015-03-17 20:58:20 +00:00
Marco Pivetta
a3f9f153dd
Merge pull request #1321 from vvh-empora/master
...
embeddedClasses support...
2015-03-10 21:53:05 +01:00
Marco Pivetta
73d4d88ba1
Merge pull request #1326 from guiwoda/orphan-removal-association-builder
...
Allow AssociationBuilder to set a relation as orphan removal
2015-03-09 23:18:59 +01:00
Guido Contreras Woda
71821bb7a3
Allow AssociationBuilder to set a relation as orphan removal
2015-03-09 18:54:35 -03:00
Volker von Hoesslin
0824c6136d
unittest DDC3597: fix for PHP 5.4
2015-03-04 11:55:08 +01:00
Volker von Hoesslin
2aef87c9b2
add unittest for DDC3597
2015-03-03 16:59:48 +01:00
Guilherme Blanco
6e40361fe7
Merge pull request #1311 from jankramer/DDC-3582-nested-embeddable-hydration
...
[DDC-3582] Wrong class is instantiated when using nested embeddables
2015-02-27 10:31:58 -05:00
Jan Kramer
c059de9e60
Implement test to show nested embeddables are not instantiated properly
2015-02-27 15:09:22 +01:00
Marco Pivetta
a41e774bb1
Merge pull request #1314 from FabioBatSilva/date-add-second
...
DATE_ADD - Support for seconds
2015-02-26 10:20:52 +00:00
FabioBatSilva
57bcd7cd3d
DATE_ADD - Support for seconds
2015-02-25 14:32:51 -05:00
Guilherme Blanco
5ab4c3d50c
Added programatical support to define indexBy on root aliases.
2015-02-25 14:29:10 -05:00
Guilherme Blanco
4680a7b861
Fixed bug where embedded reflection fields were never exposed to userland.
2015-02-20 14:10:28 -05:00
Marco Pivetta
1f67218dc5
#1229 - code style fixes (alignment/spacing)
2015-02-16 02:06:22 +00:00
Guido Contreras Woda
baeab5d4f4
More consistent test naming
2015-02-16 02:02:29 +00:00
Guido Contreras Woda
51881fed94
Added tests and validation on joinColumns being set before checking if its a composite key.
2015-02-16 02:02:29 +00:00
Dries De Peuter
4a6afb46e2
Fix join when recreation of query from parts.
2015-02-16 01:23:27 +00:00
Asmir Mustafic
2e890362c5
Tested second level cache with composite primary keys
2015-02-16 00:53:46 +00:00
Asmir Mustafic
7222991b13
Tested composite primary key support
2015-02-16 00:53:46 +00:00
Asmir Mustafic
2eb7dedf4f
Refactored IdentifierFlattener
2015-02-16 00:53:46 +00:00
Ryan Weaver
75bb3a0de3
Small code change thanks to the comments and adding a test
2015-02-04 13:49:51 -05:00
Marco Pivetta
17a23ea825
Merge pull request #1222 from guiwoda/embeddables-in-metadata-builder
...
Embeddables in metadata builder
2015-01-28 22:25:10 +00:00
Marco Pivetta
3ed73b4a60
Merge pull request #1288 from Ocramius/hotfix/#1169-extra-lazy-one-to-many-is-noop-when-not-doing-orphan-removal
...
Hotfix - #1169 - extra lazy one to many must be no-op when not doing orphan removal
2015-01-28 20:27:22 +00:00
Marco Pivetta
e76b20b109
#1169 DDC-3343 - removing note about query count assertion
2015-01-28 20:01:57 +00:00
Steve Müller
3b61d2d0fe
initialize database schema only once and avoid unnecessary connections
2015-01-27 12:28:31 +01:00
Steve Müller
75e41eefb5
fix indentation
2015-01-27 10:02:57 +01:00
Steve Müller
5795d53ca7
remove temporary database dependencies from Travis build
2015-01-27 09:44:06 +01:00
Steve Müller
2fbc483fe3
apply current implementation from DBAL @ dcdf744e3fdd2ba99239ee41009e08a4b6450eff
2015-01-27 09:40:45 +01:00
Marco Pivetta
c4019d96b9
#1169 DDC-3343 - when a deletion fails for some reason, related cache entries should be evicted to avoid collisions with DB state
2015-01-27 09:03:36 +01:00
Marco Pivetta
3f28adf9b6
#1169 DDC-3343 - correcting collection name used in tests
2015-01-27 07:45:58 +01:00
Marco Pivetta
a0eb6005f3
#1169 DDC-3343 - adding tests for orphan-removal + extra-lazy + one-to-many element removal behavior
2015-01-27 07:42:48 +01:00
Marco Pivetta
539c364ca6
#1169 DDC-3343 - updating test expectations - one-to-many changes should be no-op unless orphan removal is specified.
2015-01-27 06:26:55 +01:00
Marco Pivetta
9839c400b8
#1169 DDC-3343 - updating test expectations - one-to-many changes should be no-op unless orphan removal is specified.
2015-01-27 06:19:26 +01:00
Marco Pivetta
146354d835
Merge pull request #1280 from Ocramius/hotfix/#1277-find-one-with-eager-loads-is-failing
...
[DDC-3346] #1277 find one with eager loads is failing
2015-01-25 06:00:47 +01:00
Marco Pivetta
d024193cc0
Merge pull request #1272 from Ocramius/hotfix/DDC-2704-merge-inherited-transient-properties
...
[DDC-2704] - merge inherited transient properties - merge properties into uninitialized proxies
2015-01-25 05:55:53 +01:00
Marco Pivetta
5bf18298b1
Merge pull request #1281 from Ocramius/hotfix/#1169-extra-lazy-one-to-many-should-not-delete-referenced-entities
...
Hotfix/#1169 extra lazy one to many should not delete referenced entities
2015-01-25 05:43:34 +01:00
Marco Pivetta
7e85c94f48
#1169 DDC-3343 - adapting cached collection persister logic to EXTRA_LAZY collection behavior
2015-01-25 04:40:30 +01:00
Marco Pivetta
dff365318d
#1277 DDC-3346 DDC-3531 - enforcing 0
offset to avoid persisting more than 1 row
2015-01-24 14:39:47 +01:00