Luís Cobucci
5a562b3571
Appends cache namespace when it exists (for L2C regions)
...
We're overriding the namespace without even checking if it was previously
set, what causes problems when people uses that feature 😉
2017-01-11 11:01:39 +01:00
Marco Pivetta
4e573038be
Merge pull request #6220 from enumag/patch-2
...
Fix annotations
2017-01-10 12:50:39 +01:00
Jáchym Toušek
617ec9219e
Fix annotations
2017-01-10 09:12:18 +01:00
Marco Pivetta
ce4abdea55
Merge pull request #6171 from ThomasLandauer/patch-3
...
Include example of a cascaded "persist" operation
2017-01-09 14:08:31 +01:00
Thomas Landauer
7c168c2047
Update working-with-associations.rst
...
As requested: https://github.com/doctrine/doctrine2/pull/6171#pullrequestreview-15695400
2017-01-09 14:07:17 +01:00
Marco Pivetta
145c44630e
Merge pull request #6215 from malukenho/doc/#2190-add-link
...
Added link to `Transitive Persistence`
2017-01-05 22:22:07 +01:00
Jefersson Nathan
f570eb5922
#2190 — Refer link to proper section and links more occurrence from Transitive Persistence
2017-01-05 12:46:01 -03:00
Jefersson Nathan
a1839048dd
#2190 — added link to Transitive Persistence
2017-01-05 11:48:16 -03:00
Luís Cobucci
c86865aa71
Merge pull request #6212 from malukenho/hotfix/#1808-fix-sql-example
...
Fix wrong DQL example
2017-01-04 07:34:18 +01:00
Jefersson Nathan
8b499a4791
#1808 — Fix wrong DQL example
2017-01-03 21:37:07 -03:00
Marco Pivetta
06691e0150
Merge pull request #6207 from gabidavila/master
...
Documentation: Fixes missing namespaces on class call
2017-01-02 19:40:44 +01:00
gabidavila
fc8ede844d
Fixes missing namespaces on class call
2017-01-02 16:11:46 -02:00
Marco Pivetta
443902f9f9
Merge pull request #6205 from railto/master
...
Remove support for PHP 5.x
2017-01-02 09:42:07 +01:00
Mark Railton
563c79bd80
Removes support for PHP 5.x
2017-01-02 08:36:42 +00:00
Marco Pivetta
d0c3f961ef
Merge pull request #6204 from alcohol/rip-5.6
...
rip 5.6
2017-01-02 09:28:08 +01:00
Rob Bast
a8d7b327ef
rip 5.6
2017-01-02 09:27:34 +01:00
Marco Pivetta
c24a89f4a3
Merge pull request #6197 from BenMorel/patch-2
...
getSingleScalarResult() returns NULL when the query yields no results
2016-12-26 04:41:20 +01:00
Benjamin Morel
3ce833fb62
getSingleScalarResult() returns NULL when the query yields no results
...
`NoResultException` is not thrown in this case.
2016-12-26 02:11:50 +01:00
Thomas Landauer
f3909ae885
Update working-with-associations.rst
2016-12-23 20:09:25 +01:00
Marco Pivetta
22b5fb1ad4
Merge pull request #6179 from biggianteye/getting-started-fixes
...
Minor fixes to the 'getting started' page
2016-12-23 04:03:05 +01:00
Burhan Ali
f64d543d0c
Add minor fixes to the 'getting started' page
2016-12-19 03:34:51 +00:00
Thomas Landauer
eecf4382b0
Update working-with-associations.rst
2016-12-18 23:05:10 +01:00
Thomas Landauer
a8a3a8c9e7
Update working-with-associations.rst
2016-12-18 21:58:44 +01:00
Thomas Landauer
1a8eeacfba
Update working-with-associations.rst
2016-12-18 21:42:08 +01:00
Marco Pivetta
cd1a5fcadc
Merge pull request #6177 from doctrine/fix/#6174-#5570-merging-new-entities-should-also-trigger-prepersist-lifecycle-callbacks
...
Fix #6174 #5570 : merging new entities should also trigger prepersist lifecycle callbacks with merged entity data
2016-12-18 16:42:44 +01:00
Marco Pivetta
21a5d8ca1b
#6174 #5570 removed modifications applied to the CompanyContractListener
, since UnitOfWorkTest
now completely encapsulates the scenarios being covered
2016-12-18 15:48:10 +01:00
Marco Pivetta
cfd595b699
#6174 #5570 removed unused imports
2016-12-18 15:46:49 +01:00
Marco Pivetta
018a5db08f
#6174 #5570 renamed entity for better fitting the use-cases it's in
2016-12-18 15:46:34 +01:00
Marco Pivetta
f39f1a2e11
#6174 #5570 removed unused test class
2016-12-18 15:45:03 +01:00
Marco Pivetta
262d13a047
#6174 #5570 adding group annotations to newly introduced test
2016-12-18 15:44:48 +01:00
Marco Pivetta
f4595d3a2f
#6174 #5570 prePersist
listeners should never be called when entities are merged, but are already in the UoW
2016-12-18 15:43:29 +01:00
Marco Pivetta
30cd2d172b
#6174 #5570 started moving tests around prePersist
event subscriber triggering on UnitOfWork
into the UnitOfWorkTest
2016-12-18 15:37:49 +01:00
Marco Pivetta
9582ffc982
#6174 #5570 CS fixes around the EntityListenersOnMergeTest
2016-12-18 14:53:54 +01:00
Marco Pivetta
00c67ba2db
#6174 #5570 adding group annotation to newly introduced tests
2016-12-18 14:47:55 +01:00
Marco Pivetta
0c2edcd08a
#6174 #5570 CS - spacing/variable naming
2016-12-18 14:47:16 +01:00
Marco Pivetta
a22f165026
#6174 #5570 removed unused/dead code
2016-12-18 14:45:08 +01:00
Marco Pivetta
ab0e854830
#6174 #5570 CS - spacing
2016-12-18 14:39:46 +01:00
Marco Pivetta
85e2dc8f22
#6174 #5570 CS - spacing
2016-12-18 14:38:10 +01:00
Marco Pivetta
3ce262a61a
#6174 #5570 flattened nested conditionals
2016-12-18 14:36:39 +01:00
Marco Pivetta
81d44d4d6e
#6174 #5570 documenting thrown exception types
2016-12-18 14:32:31 +01:00
Marco Pivetta
754f36ef65
#6174 #5570 CS - alignment
2016-12-18 14:27:35 +01:00
bilouwan
1be226cf63
Rename test
2016-12-15 15:12:29 +01:00
bilouwan
7f4de25a26
Cherry pick unit test from PR #5570 (Fix PrePersist EventListener when using merge instead of persist)
2016-12-15 13:03:53 +01:00
bilouwan
493d39f5df
doMerge will mergeEntityStateIntoManagedCopy BEFORE persistNew to let lifecyle events changes be persisted
2016-12-15 12:49:11 +01:00
bilouwan
d1c8d378cf
Create failing test to reveal the issue
2016-12-15 12:47:45 +01:00
Thomas Landauer
879d4e7df0
Update working-with-associations.rst
2016-12-14 21:46:18 +01:00
Thomas Landauer
29062fb42e
Update working-with-associations.rst
2016-12-14 21:39:47 +01:00
Thomas Landauer
a06f8d4759
Update working-with-associations.rst
2016-12-14 21:38:10 +01:00
Thomas Landauer
6aa81d1d36
Include example of a cascaded "persist" operation
...
Following up on https://github.com/doctrine/doctrine2/issues/2943 I started to clarify how it's supposed to be done.
Please check if this would be necessary (at line 511):
`$myFirstComment->setUser($user);`
...and add it (in case).
2016-12-14 00:10:39 +01:00
Marco Pivetta
6e6be3fdd9
Merge pull request #6164 from eyepin/patch-1
...
Update EntityGenerator.php
2016-12-12 08:30:16 +01:00