Marco Pivetta
34eb4fdec5
Merge branch 'hotfix/#1380-non-cache-persister-bug'
...
Close #1380
2015-07-15 20:37:30 +01:00
Marco Pivetta
56cedc5d4f
DDC-3683 - #1380 - reverting BC break, annotating correct types, cs fixes
2015-07-15 20:35:21 +01:00
Darien Hager
77d03ec745
Remove runtime assertion
2015-07-15 20:29:44 +01:00
Darien Hager
6f1107c4ee
Clarify state-changes, replace array_key_exists() with isset() for speed
2015-07-15 20:29:43 +01:00
Darien Hager
1659fab44f
Whitespace formatting tweaks
2015-07-15 20:29:43 +01:00
Darien Hager
d0892b21fb
Remove now-superfluous EntityManager check
2015-07-15 20:29:43 +01:00
Darien Hager
6d6a6a7fbd
Refactor LoadClassMetadataEventArgs to ensure it contains an EntityManager
2015-07-15 20:29:43 +01:00
Darien Hager
e8854b68bb
Change the test listener than layers on second-level-caching so that it is more conservative, only turning on caching-associations when it knows the target entity is cache-able.
2015-07-15 20:29:43 +01:00
Darien Hager
cddbbf00b4
Stumbled across a bug where signatures didn't match, but also the current persister-type didn't support getCacheRegion(). Unsure of exact mechanism, but clearly the constructor doesn't take the second argument anyway, may be old code.
2015-07-15 20:29:43 +01:00
Marco Pivetta
4b1851467b
Merge pull request #1458 from phansys/patch-1
...
[Paginator] Fixed boolean casting
2015-07-15 08:11:43 +01:00
Javier Spagnoletti
cedff7715e
[Paginator] Fixed boolean casting in Paginator
...
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets |
| License | MIT
| Doc PR |
2015-07-14 16:48:42 -03:00
Guilherme Blanco
33c2ae465d
Merge pull request #1449 from dunglas/patch-1
...
minor: code quality in Paginator
2015-07-07 11:03:03 -04:00
Kévin Dunglas
abf6b8bee5
minor: Code quality in Paginator
2015-07-07 10:09:06 +02:00
Guilherme Blanco
96b065b282
Merge pull request #1447 from krispypen/patch-1
...
Fix second level caching for queries with multiple joins
2015-07-06 09:49:35 -04:00
Kris Pypen
5780f3209c
wrote a Test for second level cache with multiple levels of associations
2015-07-06 14:18:38 +02:00
Kris Pypen
a2a400b8fb
Fix second level caching for queries with multiple joins
...
The $metadata of the main entity is not always the metadata you need here, for example when you do join A with B and then B with C. For the second join it was using the metadata from A.
2015-07-03 14:45:25 +02:00
Bill Schaller
6b3056ff8c
Merge pull request #1430 from michael-lavaveshkul/master
...
"INSTANCE OF" example doesn't match description.
2015-06-18 10:30:14 -04:00
michael-lavaveshkul
073f570c67
Updated "INSTANCE OF" example code.
2015-06-17 22:15:17 -07:00
Marco Pivetta
37a409aa1f
Merge pull request #1429 from hallabro/update-preupdate-documentation
...
Update events.rst to reflect behaviour of preUpdate
2015-06-17 08:25:37 +01:00
Robin Hallabro
63a543d6a0
Update events.rst to reflect behaviour of preUpdate
2015-06-17 07:57:11 +02:00
Thomas Lallement
f41e59258c
Failing Test - Paginator with sorted collection
2015-06-16 16:34:37 -04:00
Benjamin Eberlei
ae5b8178e7
Merge pull request #1406 from XitasoChris/patch-1
...
add default value for GeneratedValue
2015-06-16 22:25:49 +02:00
Benjamin Eberlei
5ae40d571a
Merge pull request #1409 from haeber/patch-1
...
Added PHPDoc return type false of next method in Hydration/IterableResult
2015-06-16 22:21:20 +02:00
Benjamin Eberlei
8d1be42924
[DDC-3741] Add test for AbstractQuery#setHydrationCacheProfile(null)
2015-06-16 21:56:25 +02:00
Benjamin Eberlei
6423a33a23
Merge pull request #1411 from icambridge/patch-1
...
Allow null to be passed to setHydrationCacheProfile
2015-06-16 21:54:08 +02:00
Benjamin Eberlei
545e448024
Merge pull request #1416 from Restless-ET/patch-1
...
[2.5][Bug] Fix ConvertDoctrine1Schema->getMetadata
2015-06-16 21:38:35 +02:00
Benjamin Eberlei
5aded88cf6
Merge pull request #1418 from mageekguy/patch-2
...
Remove (useless?) call to parser::getLexer()
2015-06-16 21:36:14 +02:00
Benjamin Eberlei
1e7e8f216a
Merge pull request #1419 from c960657/cancel-orphan-removal
...
[DDC-3382] Allow orphan removal to be cancelled
2015-06-16 21:23:20 +02:00
Benjamin Eberlei
ac03c9d851
Add section about entities, proxies and reflection to "Limitations and Known Issues" chapter.
2015-06-16 21:11:29 +02:00
Christian Schmidt
96dbecec24
[DDC-3382] Allow orphan removal to be cancelled
2015-06-12 16:44:13 +02:00
Marco Pivetta
14ff7f50cf
Updating contributing notes to latest composer standard
2015-06-11 14:08:34 +01:00
Frédéric Hardy
b6d29c8b72
Remove (useless?) call to parser::getLexer()
...
The `$lexer` variable is not used, the method `parser::getLexer()` is just a dumb getter and do nothing, so in my opinion, the call to `parser::getLexer()` is useless in this context.
Can you confirm?
2015-06-08 16:04:58 +02:00
Restless-ET
b33612f9e7
[2.5][Bug] Fix ConvertDoctrine1Schema->getMetadata
...
This bug was introduced at #1205 while resolving #1200 .
2015-06-05 17:08:50 +01:00
Iain Cambridge
8625ca5187
Allow null to be passed to setHydrationCacheProfile
...
Currently null can be passed and is set as default, however if you do this you get an exception. This allows null to be passed and set.
There is an if statement later on to see if $this->_hydrationCacheProfile is null so it seems logical you can set it to be null.
2015-05-20 15:10:01 +02:00
Thomas Häber
d92785811b
Added PHPDoc return type false of next method
...
Because hydrateRow can return false, too. The PHPDoc return type of the next method has return false in addition to array.
2015-05-15 12:06:56 +02:00
Christopher Gross
702b8b3309
add default value for GeneratedValue
2015-05-12 14:16:02 +02:00
Marco Pivetta
900b55d16a
Merge pull request #1404 from stephan281094/typo
...
Fix PHPDoc typo
2015-05-07 13:36:20 +01:00
Stephan de Vries
f61526d3ff
Fix PHPDoc typo
2015-05-07 14:05:20 +02:00
Marco Pivetta
330f88e44b
Merge pull request #1401 from stof/patch-2
...
Remove HHVM-nightly builds
2015-05-05 10:03:25 +01:00
Christophe Coevoet
1b9e197ff3
Remove HHVM-nightly builds
...
hhvm-nightly is not available anymore on Travis because HHVM dropped support for Ubuntu Precise, which is still used by Travis.
2015-05-05 10:41:44 +02:00
Steve Müller
71d134fcc0
Merge pull request #1379 from holtkamp/patch-1
...
Added missing 'new' keyword for logger instantiation
2015-04-18 11:13:31 +02:00
Steve Müller
b8ef6cfd2f
Merge pull request #1384 from TomasVotruba/patch-1
...
cs
2015-04-18 11:07:17 +02:00
Steve Müller
2706812b37
Merge pull request #1385 from TomasVotruba/patch-2
...
duplicated param in phpdoc
2015-04-18 11:03:09 +02:00
Steve Müller
5ac291d0f4
Merge pull request #1386 from TomasVotruba/patch-3
...
PersisterException: missing license added
2015-04-18 10:57:12 +02:00
Tomáš Votruba
b3b0f6bd5b
PersisterException: missing license added
2015-04-17 12:46:52 +02:00
Tomáš Votruba
6fae618669
duplicated param in phpdoc
2015-04-17 10:13:40 +02:00
Tomáš Votruba
a71f2ba76f
cs
2015-04-17 10:12:18 +02:00
Guilherme Blanco
5f18618355
Merge pull request #1382 from holtkamp/patch-second-level-cache-association-hydration
...
Patch second level cache association hydration
2015-04-14 11:37:54 -04:00
Menno Holtkamp
5f891435f1
Use early return
2015-04-14 16:02:36 +02:00
Menno Holtkamp
34b6ce9259
Introduced getCacheEntryKey() to combine region name and cache key
2015-04-14 09:52:25 +02:00