Marco Pivetta
b81209c278
#470 DDC-54 DDC-3005 - documenting postLoad
and Doctrine\ORM\AbstractQuery#iterate()
partial incompatibility
2015-01-13 01:43:12 +01:00
Marco Pivetta
f571a9ef88
#470 DDC-54 DDC-3005 - query iteration must cause eager hydrationComplete
logic to be fired
2015-01-13 01:42:38 +01:00
Marco Pivetta
0ffc752f6f
#470 DDC-54 DDC-3005 - simple-object hydration should also trigger postLoad
events when iterating over single results
2015-01-13 01:42:03 +01:00
Marco Pivetta
5cd73f0d12
#470 DDC-54 DDC-3005 - reverting assertion
...
`postLoad` should be triggered eagerly when using `iterate()`, as worse problems may be experienced with
missed initialization via listeners.
2015-01-13 01:36:13 +01:00
Marco Pivetta
0a19fbb376
#470 DDC-54 DDC-3005 - minor test cleanups, changing test according to current limitation to document the actual expected behavior
2015-01-13 01:26:04 +01:00
Marco Pivetta
a884452ffc
#470 DDC-54 DDC-3005 - removing unused PostLoadEventDispatcher
2015-01-13 01:16:46 +01:00
Marco Pivetta
b1144e74ea
#470 DDC-54 DDC-3005 - reverting hydrator changes, as patch DDC-3005 already deals with the issue
2015-01-13 01:09:23 +01:00
Lukasz Cybula
aa4796cd0d
Moved postLoad dispatching from UnitOfWork to object hydrators
2015-01-13 01:03:48 +01:00
Marco Pivetta
a906295c65
Merge branch 'hotfix/#1001-DDC-3005-defer-postload-event-after-fully-populated-associations'
...
Close #1001
2015-01-13 00:54:31 +01:00
Marco Pivetta
d09280a1dc
#1001 DDC-3005 - HydrationCompleteHandler
cs fixes (line-wrap)
2015-01-13 00:52:12 +01:00
Marco Pivetta
45221b1951
#1001 DDC-3005 - removed HydrationCompleteHandler#invokeAllDeferredPostLoadEvents()
(useless method call indirection)
2015-01-13 00:51:44 +01:00
Marco Pivetta
c9ccd91421
#1001 DDC-3005 - optimized HydrationCompleteHandler
imports
2015-01-13 00:50:19 +01:00
Marco Pivetta
730c2a81f7
#1001 DDC-3005 - HydrationCompleteHandler
static introspection cleanups, as well as memory and performance improvements
2015-01-13 00:50:05 +01:00
Marco Pivetta
8c54a65aa5
#1001 DDC-3005 - Verifying HydrationCompleteHandler
skips over registered deferred loads that were already handled by hydrationComplete
2015-01-13 00:48:53 +01:00
Marco Pivetta
29d4d342bd
#1001 DDC-3005 - Testing HydrationCompleteHandler
with multiple deferred entities postLoad
s
2015-01-13 00:45:07 +01:00
Marco Pivetta
948d6c2b9f
#1001 DDC-3005 - Testing HydrationCompleteHandler
against all possible ListenersInvoker
flags
2015-01-13 00:39:28 +01:00
Marco Pivetta
833058fd2e
#1001 DDC-3005 - Testing HydrationCompleteHandler
when no events should be triggered
2015-01-13 00:36:17 +01:00
Marco Pivetta
7b81cfb6ea
#1001 DDC-3005 - Minor CS fixes in HydrationCompleteHandler
2015-01-13 00:33:15 +01:00
Marco Pivetta
89530f88f7
#1001 DDC-3005 - Removing dead assignment HydrationCompleteHandler#__construct()
2015-01-13 00:32:10 +01:00
Marco Pivetta
516d04c391
#1001 DDC-3005 - Removing useless dependency from the HydrationCompleteHandler
to the UnitOfWork
2015-01-13 00:31:32 +01:00
Marco Pivetta
fccd08afa5
#1001 DDC-3005 - Basic coverage for the HydrationCompleteHandler
2015-01-13 00:29:50 +01:00
Marco Pivetta
af93539576
#1001 DDC-3005 - HydrationCompleteHandler
should accept EntityManagerInterface
instances
2015-01-13 00:06:07 +01:00
Marco Pivetta
22e12e0043
#1001 DDC-3005 - coverage annotations, minor CS fixes
2015-01-12 23:50:16 +01:00
Strate
0c8a31bf2b
DDC-3005. Revert empty line. Removed @since annotation
2015-01-12 22:34:24 +01:00
Strate
96184b9541
DDC-3005.Removed warning in documentation
2015-01-12 22:34:24 +01:00
Strate
367a79206d
DDC-3005. Renamed class by removing underscore
2015-01-12 22:34:24 +01:00
Strate
35ea399d33
DDC-3005 Defer invoking of postLoad event to the end of hydration cycle.
...
1. Refactor handling of hydration complete: delegate this task to special object
2. Write test case for situation, when inside postLoad listener other entity is loading.
3. Make test, written on second step, be able to pass :)
2015-01-12 22:34:24 +01:00
Strate
f3b31c2807
DDC-3005 Defer invoking of postLoad event to the end of hydration cycle.
...
This feature makes guarantee, that postLoad event fires after all associations are populated
2015-01-12 22:33:40 +01:00
Marco Pivetta
b9c0868f08
Merge branch 'one-to-many-extra-lazy-joined-inheritance'
...
Close #1245
2015-01-12 22:05:12 +01:00
Marco Pivetta
0f362b0650
#1245 DDC-2504 - removing duplicate test
2015-01-12 22:03:54 +01:00
Marco Pivetta
ebf5811761
#1245 DDC-2504 - extracting test:
...
Removing an unmanaged/persisted/new item from a one-to-many extra-lazy association to a JTI does not initialize the collection
2015-01-12 21:55:57 +01:00
Marco Pivetta
25d40caf1e
#1245 DDC-2504 - extracting test:
...
Removing a managed item from a one-to-many extra-lazy association to a JTI does not initialize the collection
2015-01-12 21:43:37 +01:00
Marco Pivetta
ec08286173
#1245 DDC-2504 - constants over string references
2015-01-12 21:37:53 +01:00
Marco Pivetta
7a0cb1c370
#1245 DDC-2504 - splitting test method into a test about count()
and one about contains()
on a lazy persistent collection
2015-01-12 21:34:12 +01:00
Marco Pivetta
8d287b17d7
#1245 DDC-2504 - splitting test method into single feature checks
2015-01-12 21:29:48 +01:00
Guilherme Blanco
932a56f26f
Internalize UnitOfWork in CollectionPersisters. Updated related code.
2015-01-12 19:52:27 +00:00
Guilherme Blanco
c5f1b99721
Fixed wrong return.
2015-01-12 18:18:15 +00:00
Guilherme Blanco
73afcec22a
Implemented support for one to many extra lazy with joined inheritance.
2015-01-12 18:15:13 +00:00
Marco Pivetta
573153669c
Merge pull request #1244 from BenMorel/static
...
Change $this return type to static in AbstractQuery
2015-01-11 18:02:45 +01:00
Benjamin Morel
fbcf18cf33
Changed $this return type to static in AbstractQuery
...
This allows IDEs and static code analysis tools to properly understand the return type when chaining methods, for example when using the QueryBuilder.
2015-01-11 16:48:09 +00:00
Guilherme Blanco
4dbfdfb9d6
Merge pull request #1243 from doctrine/composer-autoloader-dev
...
Fixed phpunit tests autoload requirements and moved to composer autoload-dev
2015-01-10 16:05:14 -05:00
Guilherme Blanco
9201d09ab7
Fixed phpunit tests autoload requirements and moved to composer autoload-dev configuration.
2015-01-10 20:28:57 +00:00
Marco Pivetta
be91cc9bb3
Merge pull request #1239 from deeky666/fix-index-duplication
...
Fix index duplication for unique association join columns
2015-01-09 23:07:50 +01:00
Marco Pivetta
664b6bf4c5
Merge pull request #1227 from c960657/production-settings-query-cache
...
Ensure query cache is not ArrayCache in production
2015-01-09 16:58:38 +01:00
Steve Müller
d1e5034659
fix index duplication for unique association join columns
2015-01-08 15:39:41 +01:00
Marco Pivetta
0cbab230bf
Merge branch 'feature/#1238-allow-skipping-column-prefixing-in-xml-mapped-embeddables'
...
Close #1238
2015-01-08 13:33:52 +01:00
Marco Pivetta
6fdb100793
#1238 DDC-3293 DDC-3477 - exploding tests with set use-column-prefix="true"
and use-column-prefix="false"
xml mappings
2015-01-08 13:33:38 +01:00
Marco Pivetta
43db4a4182
#1238 DDC-3293 DDC-3477 - adding @group
annotations for newly introduced tests
2015-01-08 13:28:11 +01:00
Andrey Knupp Vital
a701c9d046
Removing warning about non-availability of no-prefix in XML mappings
2015-01-08 10:11:22 -02:00
Andrey Knupp Vital
74a2cfc83b
Also adding docs for the new attribute use-column-prefix
2015-01-08 09:37:41 -02:00