Marco Pivetta
66c556fbfd
#1240 DDC-3479 - Fixing minor CS issues (naming, alignment)
2015-01-13 02:48:57 +01:00
Lars Strojny
8e4092750d
Include IDs in the exception message to ease debugging
2015-01-13 02:41:05 +01:00
Marco Pivetta
1ac688644a
Merge branch 'hotfix/#1242-lock-uninitialized-proxies'
...
Close #1242
2015-01-13 02:37:09 +01:00
Carnage
00b6f62287
Fixed issue
2015-01-13 02:36:58 +01:00
Carnage
36f9822466
Added test to demonstrate issue
2015-01-13 02:36:58 +01:00
Marco Pivetta
ef113e52ab
Merge branch 'feature/#1054-DDC-3161-allow-connection-access-in-filters'
...
Close #1054
2015-01-13 02:06:49 +01:00
Marco Pivetta
ef5a3f1bb7
#1054 DDC-3161 - adding @group
annotation for newly introduced tests
2015-01-13 02:06:39 +01:00
Vladislav Veselinov
759836113f
assertion fix
2015-01-13 02:05:49 +01:00
Vladislav Veselinov
79bf84e1ad
revert typehint change
2015-01-13 02:05:49 +01:00
Vladislav Veselinov
9cb17d2915
EntityManagerInterface instead of EntityManager
...
Make connection available in filters
Add test for the changes
2015-01-13 02:05:49 +01:00
Marco Pivetta
14c3adbec0
Merge branch 'hotfix/#470-DDC-54-postLoad-deferred-event-triggering-tests'
...
Close #470
2015-01-13 01:43:44 +01:00
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