Luís Cobucci
27f3bc1e2c
Allow the usage of embedded objects on parent classes.
...
The `ClassMetadataInfo` was always using the "current class" to
fetch the reflection of a property even when a field is declared
on the parent class (which causes `ReflectionProperty` to throw
an exception).
2016-06-19 12:35:57 +02:00
Mikhail Shamin
b173763bbb
Remove full qualified class names in tests
2016-05-11 03:00:44 +07:00
Mikhail Shamin
bf322b903d
Optimize imports. Remove full qualified class names
2016-05-11 01:55:12 +07:00
jeremygiberson@gmail.com
1e660abeb8
cascade all operations on cmstags
2016-02-14 17:43:58 -07:00
jeremygiberson@gmail.com
3ed64dcec2
changed relation table column name to match
2016-02-14 17:37:25 -07:00
Jeremy Giberson
dd3f67d862
updated manytomany so it maps field names to column names in criteria ordering
2016-02-11 13:39:31 -07:00
Marco Pivetta
996db42029
#1573 - correcting test asset namespace, removing unused properties and bi-directional association
2015-12-11 20:14:53 +01:00
Marco Pivetta
41235f61de
#1573 removing unused API
2015-12-11 19:59:08 +01:00
bilouwan
d2cbdd1866
Fix superflous whitespaces & empty lines
2015-12-02 14:09:14 +01:00
bilouwan
832adae6b4
Unit test & fix for merge versionned entity
2015-11-27 17:28:45 +01:00
Marco Pivetta
9c5cea3e95
Merge pull request #1561 from deeky666/DDC-4006
...
[DDC-4006] Inherit ID generator strategy mapping from embeddables
2015-11-19 16:34:32 +01:00
Steve Müller
86c81da7ce
inherit ID generator strategy mapping from embeddables
2015-11-19 16:10:48 +01:00
Guido Contreras Woda
6c96e23a47
Test to verify the bug and the fix
2015-11-19 12:02:51 -03:00
Guilherme Blanco
e64f44ec9b
Fix one to one inverse side cached entity association key generation
2015-11-13 15:58:52 +00:00
Guilherme Blanco
58992ad523
Fixed support for inverse side second level cache
2015-11-12 05:00:08 +00:00
Guilherme Blanco
49bb687aaf
Merge pull request #1540 from pantelm/master
...
[DDC-3711] Correct Error on manyToMany with composite primary key + add Tests
2015-11-08 22:43:36 -05:00
Guilherme Blanco
d88cf97bef
Merge pull request #1507 from deguif/fix-wrong-property
...
Fixed wrong property name
2015-11-07 10:09:06 -05:00
Guilherme Blanco
843966ac50
General fixes across CS, type resolving, test fixes, etc
2015-11-07 03:55:05 +00:00
z38
ff28507b88
Allow override of inversedBy
2015-11-05 12:11:29 +01:00
Pantel
43b2419a3c
[DDC-3711] add Test that check if the association key are composite
2015-10-31 17:19:39 +01:00
François-Xavier de Guillebon
ae243643e5
Added test
2015-09-14 18:35:49 +02:00
Marco Pivetta
a0a0c731bb
Merge pull request #1457 from phansys/short_types
...
Updated syntax for "integer" and "boolean" types
2015-09-05 17:21:05 +02:00
Issei.M
df461601f7
removed useless line breaks
2015-09-03 17:55:14 +09:00
Marco Pivetta
74883e535f
DDC-3699 - #1387 - simpifying tests, clarifying on test method names
2015-07-15 21:46:23 +01:00
Lenard Palko
cbfd71cec6
Added test cases for both one-to-one and one-to-many cases.
2015-07-15 21:26:45 +01:00
Javier Spagnoletti
97cc49033e
Updated syntax for ``integer
` and
`boolean
`` types
...
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets |
| License | MIT
| Doc PR |
Used short syntax for ```integer``` and ```boolean``` types.
**Before**
```php
/**
* @var integer
*
* @ORM\Column(name="some_integer_field", type="integer")
*/
private $someIntegerField;
/**
* @var boolean
*
* @ORM\Column(name="some_boolean_field", type="boolean")
*/
private $someBooleanField;
```
**After**
```php
/**
* @var int
*
* @ORM\Column(name="some_integer_field", type="integer")
*/
private $someIntegerField;
/**
* @var bool
*
* @ORM\Column(name="some_boolean_field", type="boolean")
*/
private $someBooleanField;
```
2015-07-14 15:30:13 -03:00
Marco Pivetta
21b70577d3
Hydration of fetch-joined results fails when an entity has a default value of array
for the collection property
2015-04-02 23:43:16 +01:00
Kristopher Wilson
9d7aa9ba39
Adding failing test case for PaginationTest
...
The failure comes into play when an entity has an attribute named
differently from its corresponding column name.
2015-03-31 21:39:21 +01:00
Alexander Orabey
f92307d06d
problem with LimitSubqueryOutputWalker when use InheritanceType
...
Conflicts:
tests/Doctrine/Tests/OrmFunctionalTestCase.php
2015-03-31 21:36:32 +01:00
Bill Schaller
ff75a3ad49
Fix paginator issues when ordering by a joined column from a to-many association.
...
Manual merge testcase from #1351
2015-03-31 21:36:32 +01:00
Bill Schaller
147bdd8ede
Fixed nitpicks from @stof
2015-03-24 00:25:12 +00:00
Bill Schaller
81ccd93b74
Add thorough functional tests for Paginator, expand existing ones.
2015-03-24 00:25:12 +00:00
Marco Pivetta
1add0a04fa
Merge pull request #1302 from goetas/pr1301
...
Store column values of not cache-able associations
2015-03-17 23:27:04 +00:00
Marco Pivetta
0c0d3a1a7c
#1316 - removing unused API from stub class
2015-03-17 23:14:29 +00:00
molchanoviv
ab740abe96
Add DefaultQuoteStrategyTest::testGetJoinTableName() test
2015-03-17 23:03:03 +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
11da060668
#1336 - class constants over string references in tests - removing useless QueryBuilder usage
2015-03-17 21:21:20 +00:00
Stefano Torresi
c7ad932b5f
fix copyright notices
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
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
Asmir Mustafic
d33ee5e7ff
Removed unnecessary API from test cases
2015-02-24 08:53:22 +01:00
Asmir Mustafic
4d43f5ca52
Tested composite keys on non cache-able entities
2015-02-20 19:00:32 +01:00
Asmir Mustafic
b9577bf2f3
Added tests for many-to-one non cache-able relations
2015-02-16 08:55:27 +01:00
Asmir Mustafic
60164931b8
Handled one-to-many non cache-able relations
2015-02-16 08:55:27 +01:00
Michaël Gallego
ed6fa0deb4
Add failing test
2015-02-16 08:55:27 +01:00
Asmir Mustafic
7222991b13
Tested composite primary key support
2015-02-16 00:53:46 +00: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
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