Marco Pivetta
42226dadd1
DDC-3208 - hotfix for DDC-3160 backported to 2.4.x
2014-07-11 04:49:30 +02:00
Benjamin Eberlei
84f8ef5ca4
Bump version to 2.4.4
2014-06-10 13:49:09 +02:00
Benjamin Eberlei
8a13376d42
Release 2.4.3
2014-06-10 13:49:08 +02:00
Benjamin Eberlei
859465b691
Fix wrong version
2014-06-03 21:43:21 +02:00
Benjamin Eberlei
530c01b5e3
[DDC-3120] Fix bug with unserialize bc break in PHP 5.4.29 and PHP 5.5.13
2014-06-03 17:36:31 +02:00
Frank Liepert
78ceda7ecf
[DDC-3076] Fix ObjectHydrator
2014-04-17 00:03:11 +02:00
Frank
376a3ac3b6
Fix: handle invalid discriminator value
2014-04-17 00:03:11 +02:00
Frank
ab87dd6325
Add: invalidDiscriminatorValue method
2014-04-17 00:03:11 +02:00
Guilherme Blanco
2ae245db30
Fixes DDC-2984. Made DDC-742 more resilient to recurring failures.
2014-04-16 23:41:53 +02:00
Alexandru Patranescu
1566b8a057
allow passing EntityManagerInterface when creating a HelperSet
2014-03-23 15:37:07 +01:00
Benjamin Eberlei
0262b083bb
[DDC-3018] Fix string literals in new operator.
2014-03-23 15:17:47 +01:00
Benjamin Eberlei
8b75e3563a
[DDC-2996] Fix bug in UnitOfWork#recomputeSingleEntityChangeSet
...
When calling UnitOfWork#recomputeSingleEntityChangeSet on an entity
that didn't have a changeset before, the computation was ignored.
This method however is suggested to be used in "onFlush" and "preFlush"
events in the documentation.
Also fix a bug where recomputeSingleEntityChangeSet was used
before calculating a real changeset for an object.
2014-03-23 13:19:22 +01:00
Benjamin Eberlei
55b7e4cff2
[DDC-3033] Fix bug in UnitOfWork#recomputeSingleEntityChangeSet.
...
The fix for DDC-2624 had a side effect on recomputation of
changesets in preUpdate events. The method wasn't adjusted
to the changes in its sister method computeChangeSet() and
had wrong assumptions about the computation.
Especially:
1. Collections have to be skipped
2. Comparison was changed to strict equality only.
2014-03-23 12:38:51 +01:00
Menno Holtkamp
213cc5c695
Use boolean values for 'unique' attribute
...
As defined in: https://github.com/doctrine/doctrine2/blob/master/doctrine-mapping.xsd#L294
Same as 'nullable' attribute.
It was being exported as a "1" for TRUE and "0" for false
2014-03-23 10:16:43 +01:00
Benjamin Eberlei
f18d0e093b
[DDC-1985] Fix ordering preservation in SQL limit subquery output walker.
2014-02-09 15:45:28 +01:00
Benjamin Eberlei
5c06121d94
[DDC-2624] Fix bug when persistent collection is cloned and used in a new entity.
2014-02-09 14:27:54 +01:00
Benjamin Eberlei
5bfa56aee0
Bump version to 2.4.3
2014-02-08 17:35:11 +01:00
Benjamin Eberlei
0363a5548d
Release 2.4.2
2014-02-08 17:35:09 +01:00
Geoffrey Wagner
6ee20204a5
Fix some code standard things
2014-02-08 16:01:41 +01:00
Geoffrey Wagner
d9b0c87ded
Fix some code standard things
2014-02-08 16:01:41 +01:00
Geoffrey Wagner
8594e5c4da
Add a test
...
addLifecycleCallback now only allows a callback once so we do not hook them twice
2014-02-08 16:01:41 +01:00
Geoffrey Wagner
5f821f3b98
Fix Lifecycle Callbacks
...
Remove a bit of code that breaks lifecycle callbacks of parent MappedSuperclasses
2014-02-08 16:01:41 +01:00
Marco Pivetta
215c4a03e1
DDC-2931 - Removing previous broken fix for DDC-2931 - hardened
2014-02-08 15:52:46 +01:00
Marco Pivetta
b3ccd6466b
DDC-2931 - Safe comparison between proxies and entities when refreshing objects
2014-02-08 15:52:46 +01:00
Marco Pivetta
0bc94589e1
DDC-2931 - Removing refresh hints when fetching association data in hydrators
2014-02-08 15:52:45 +01:00
Tim Lieberman
1bb55703a7
Make SchemaTool and SchemaValidator use EntityManagerInterface instead of EntityManager
2014-02-08 15:31:08 +01:00
Tim Lieberman
56cbcec13d
Substitute EntityManagerInterface for EntityManager in Console EntityManagerHelper
2014-02-08 15:31:07 +01:00
Tim Lieberman
837c19bfc0
Console EntityManagerHelper now accepts EntityManagerInterface as constructor argument, instead of insisting on an EntityManager
2014-02-08 15:31:07 +01:00
Benjamin Eberlei
488a4dc78a
[DDC-2700] Add test and fix CS.
2014-01-02 23:50:37 +01:00
Alex Pogodin
1364b6acc6
Identifier can be empty for MappedSuperclasses
...
When MappedSuperclass is inspected without identifier column been assigned, always return false. Solves "Undefined offset" notice.
2014-01-02 23:50:37 +01:00
Eduardo
7c8350094e
Options not respected for ID Fields in XML Mapping Driver
...
Same bug of the YAML driver, see: http://www.doctrine-project.org/jira/browse/DDC-2661
2014-01-02 23:34:17 +01:00
Sander Marechal
6bb7581dd7
Add rootAlias to Criteria where clauses
2014-01-02 23:16:35 +01:00
Sander Marechal
ab71dab7d1
Set rootAlias outside loop
2014-01-02 23:15:31 +01:00
Sander Marechal
2c114756bd
[DDC-2764] Prefix criteria orderBy with rootAlias
2014-01-02 23:15:31 +01:00
Matthieu Napoli
a89cc7abea
Inlined the model for the DCC2775 test case inside the test class
2014-01-02 23:07:53 +01:00
Matthieu Napoli
3829b9c28b
[DDC-2775] Bugfix
2014-01-02 23:07:53 +01:00
Stefan Kleff
2767a4eec4
Multiple invokation of listeners on PreFlush event
...
Only lifecycle callbacks and entity listeners should be triggered here. The preFlush listener event is already triggered at the beginning of commit()
2014-01-02 22:16:59 +01:00
Pouyan Savoli
6f2bb08972
[DDC-2645] Apply patch to fix issue
2013-12-15 23:34:34 +01:00
Benjamin Eberlei
c4b7d3fbea
Bump version to 2.4.2
2013-11-12 13:40:15 +01:00
Benjamin Eberlei
84373d05a4
Release 2.4.1
2013-11-12 13:40:13 +01:00
jan brunnert
e23ed2250d
Removed unnecessary is_object() check
2013-10-29 09:24:52 +01:00
jan brunnert
192bb6fd21
When the OptimisticLockingException is generated with the static function lockFailedVersionMismatch and the passed parameters are DateTime instances, the exception could not be thrown because the DateTime object is not implicitly converted to a string.
2013-10-29 09:24:52 +01:00
Benjamin Eberlei
1d2cd82706
[DDC-2759] Fix regression in ArrayHydrator introduced in DDC-1884 at SHA c7b4c9bf0fbc5dca830e0a797cea470510def994
2013-10-26 11:16:53 +02:00
Fabio B. Silva
b58fb8f5d4
[DDC-2668] Fix trim leading zero string
2013-09-26 23:23:49 +02:00
Benjamin Eberlei
0f0d8abd67
[DDC-2608][DDC-2662] Fix SequenceGenerator requiring "sequenceName" and now throw exception. Fix a bug in quoting the sequenceName.
2013-09-08 16:00:14 +02:00
Benjamin Eberlei
3cc5fc0252
[DDC-2660] Fix error with NativeSQL, ResultSetMappingBuilder and Associations as Primary Key.
2013-09-08 14:39:25 +02:00
Benjamin Eberlei
de3b237292
[DDC-2661] Fix bug in YamlDriver not passing options from id to mapField()
2013-09-08 10:37:42 +02:00
Benjamin Eberlei
9efbc1fa71
Bump version to 2.4.1
2013-09-07 18:19:57 +02:00
Benjamin Eberlei
57705e0d78
Release 2.4.0
2013-09-07 18:19:56 +02:00
Attila Fulop
e8d420c641
Fix for entity generator discriminator column
2013-09-07 09:04:26 +02:00