bruno da silva
85a52d781e
add a not weel writend/nammed test testing Query::expireResultCache()
2017-05-02 23:25:56 +02:00
Marco Pivetta
2c1ebc4ef1
Merge pull request #6416 from lcobucci/fix-quote-on-inheritance
...
Fix quoting when using inheritance as well
2017-05-02 09:42:03 +02:00
Marco Pivetta
77ee69f1a8
Merge pull request #6367 from SirWaddles/fix-inheritance-alias
...
Fix inheritance alias
2017-05-02 09:25:18 +02:00
Timothy Clissold
0a10f347d3
Fix inheritance join alias
2017-05-02 00:17:16 +02:00
Luís Cobucci
6c0654c144
Merge pull request #6274 from Necsord/issue/5887-one-to-one-with-custom-id-object-relationship-fix
...
Fixing #5887 - lazy loading of one-to-one relationship with custom id object
2017-04-30 20:10:37 +02:00
Marcin Szulc
a360da5a7e
Fix lazy loading of 1-to-1 relationship with custom id object
...
Fixing case when lazy loading of entity in one-to-one relationship on the side without foreign key
did not return eht entity because of custom type not being detected and properly formatted before
applying to database query.
Closes https://github.com/doctrine/doctrine2/issues/5887
2017-04-30 19:53:28 +02:00
Luís Cobucci
0aef63b350
Fix quoting also when using inheritance
2017-04-30 19:36:41 +02:00
Luís Cobucci
4ebf27de35
Use "quoted" from existing data if exists
...
In order to keep that information for inheritance mapping.
2017-04-30 19:36:40 +02:00
Luís Cobucci
942bb6cb1f
Remove dead code from OrmFunctionalTestCase
2017-04-30 19:36:39 +02:00
lemartin
7c6c5d87c8
Fix quoting issues related to ticket #6402
...
Apply quoting strategy to foreign key columns of one-to-one relation so
that correct select statements are generated. And use unquoted column
names in result mapping instead of quoted ones, as consumers (namely
IdentifierFlattener) expect unquoted column names.
2017-04-30 13:51:49 +02:00
Vytautas Stankus
a557c97a93
Add support for STARTS_WITH and ENDS_WITH comparison operators
2017-04-30 13:19:51 +02:00
Jarek Jakubowski
38bfcc6a7a
Fix notice in ClassMetadata when there is no ID Column defined
...
When you forget about defining the ID/PK Column, then this ugly Notice appear.
Now it will throw nice Exception.
2017-04-30 11:38:47 +02:00
Marco Pivetta
03972c9c3a
Merge pull request #6410 from PowerKiKi/patch-2
...
Minor typo naming strategy documentation
2017-04-23 14:25:39 +02:00
Adrien Crivelli
692a1afa86
Minor typo naming strategy documentation
2017-04-22 00:05:57 +09:00
Marco Pivetta
318e9a5596
Merge pull request #6400 from neobyteUK/master
...
Fix incorrect YAML datetime version field.
2017-04-15 02:23:56 +02:00
Richard Henry
e44a83fc7b
Fix incorrect YAML datetime version field.
2017-04-15 01:18:44 +01:00
Marco Pivetta
b88480212a
Merge pull request #6399 from neobyteUK/master
...
Fix incorrect YAML example for versioning a field.
2017-04-15 01:24:06 +02:00
Richard Henry
6b6c300319
Fix incorrect YAML example for versioning a field.
2017-04-15 00:12:53 +01:00
Marco Pivetta
7c5b27da2c
Merge pull request #6395 from yannickl88/master
...
Updated broken links
2017-04-12 23:14:30 +02:00
Yannick de Lange
7e50a965fa
Updated broken links
...
Updated all links pointing to
http://www.doctrine-project.org/documentation/ * to their
http://docs.doctrine-project.org counterparts
2017-04-12 23:09:48 +02:00
chihiro-adachi
2c5e76c961
fix class name.
2017-04-07 14:33:41 +02:00
Marco Pivetta
03b4397557
Merge pull request #6378 from Sam-Burns/phpunit6
...
PHPUnit 6
2017-04-01 06:49:33 +02:00
Sam-Burns
3d7a7346f7
Quieting risky test warnings where tests do actually perform assertions
2017-03-31 23:23:22 +01:00
Sam-Burns
5bd7bd8d48
Updating to PHPUnit 6
2017-03-31 21:59:02 +01:00
Marco Pivetta
904f4d5021
Merge pull request #6377 from Sam-Burns/minimum-dependencies
...
Minimum dependencies
2017-03-31 20:46:14 +02:00
Sam-Burns
7aab261c24
Switching to a PHPUnit version that doesn't throw a stty-related PHP warning on Travis
2017-03-31 15:46:04 +01:00
Sam-Burns
f5b4e8c823
Specifying minimum version of doctrine/annotations with which tests pass
2017-03-31 15:24:07 +01:00
Sam-Burns
60cc11461d
Bumping doctrine/cache minimum version, to make tests pass
2017-03-31 15:07:53 +01:00
Sam-Burns
f2edf36248
Bumping doctrine/collections minimum version, to make tests pass
2017-03-31 15:07:53 +01:00
Sam-Burns
d6049f8631
Adding breaking build testing with minimum Composer dependencies
2017-03-31 15:07:29 +01:00
Marco Pivetta
1aa02f9afc
Merge pull request #6326 from SenseException/check-option
...
[Documentation] Add column check-option to documentation
2017-03-12 11:53:13 -04:00
Boris Yonchev
bd1efaf528
DDC-2780 - Fixed issue with IS NULL on join aliases
2017-03-07 18:34:50 +01:00
Claudio Zizza
504e701020
Add existing column check-option to documentation
2017-03-06 00:34:18 +01:00
Marco Pivetta
e4704beaf9
Merge pull request #6287 from lcobucci/fix-test-suite
...
Fix EntityManagerDecorator tests
2017-02-13 01:46:01 +01:00
Luís Cobucci
dcc80af7d9
Fix EntityManagerDecorator tests
...
We were expecting a return value for all methods but on 6a56df9a24
we changed some methods to be void and of course that affected the
ORM.
2017-02-12 18:38:21 +01:00
Marco Pivetta
10935dd843
Merge pull request #6285 from svencan/doc-typos
...
Fix typos and wording in NamingStrategy documentation
2017-02-10 18:55:05 +01:00
Sven Cannivy
260c8d0113
Fix typos and wording in NamingStrategy documentation
2017-02-10 18:48:57 +01:00
Marco Pivetta
23ae83e351
Merge pull request #6268 from enumag/patch-4
...
Fix annotation
2017-01-31 12:00:42 +01:00
Jáchym Toušek
64ab53a243
Fix annotation
2017-01-31 11:57:01 +01:00
mikeSimonson
e42d0bdda5
Merge pull request #6262 from mikeSimonson/doc
...
Fix a link to a ref in another page
2017-01-27 09:30:38 +01:00
mike
f3df000d29
Fix a link to a ref in another page
2017-01-27 09:27:25 +01:00
mikeSimonson
5989ea1752
Merge pull request #6260 from mikeSimonson/doc
...
Document the Custom option of the generated value annotation
2017-01-26 14:12:34 +01:00
Marco Pivetta
888f1be7c9
Merge pull request #6257 from weaverryan/add-criteria-note
...
Adding a note about the `Doctrine\ORM\QueryBuilder#addCriteria()` method
2017-01-25 16:56:12 +01:00
Ryan Weaver
63bd6c359c
[Docs] Adding a note about the addCriteria method on QueryBuilder
2017-01-25 10:52:17 -05:00
mike
773af5b306
Document the Custom option of the generated value annotation
2017-01-25 15:54:03 +01:00
Marco Pivetta
9c76c3766f
Merge pull request #6251 from mbeccati/ddc2660-test-fix
...
Add missing group to DDC2660Test.php
2017-01-24 13:43:59 +01:00
Matteo Beccati
c816d375e8
Add missing group to DDC2660Test.php
...
With the current PHPUnit version and PHP 7.2/master, the test fails with:
1) Doctrine\Tests\ORM\Functional\Ticket\DDC2660Test::testIssueWithExtraColumn
array_flip(): Can only flip STRING and INTEGER values!
2) Doctrine\Tests\ORM\Functional\Ticket\DDC2660Test::testIssueWithoutExtraColumn
array_flip(): Can only flip STRING and INTEGER values!
Due to the group being NULL vs "" on older PHP versions.
I will also file a bug report or fix to PHPUnit and/or PHP itself, but it sounds
like the missing group was just a typo.
2017-01-24 12:46:19 +01:00
Marco Pivetta
b181228d69
Merge pull request #6250 from johndodev/patch-1
...
Note on Entity listeners
2017-01-23 09:57:58 +01:00
John
57f560401b
Note on Entity listeners
...
As requested here https://github.com/doctrine/doctrine2/issues/6247#issuecomment-274123780 I thought it should be interesting to note that.
The note could be longer, like "You should avoid to have multiple methods for the same event (e.g. multiple @PrePersist) since the execution order is not guaranteed".
2017-01-23 09:35:26 +01:00
Luís Cobucci
119aa4e46c
Merge pull request #6244 from lcobucci/l2c-ensure-root-classname-everywhere
...
Make sure we're using the rootEntityName on all places
2017-01-20 00:05:48 +01:00