Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.2
-
Component/s: None
-
Security Level: All
-
Labels:None
Description
When using resultset cache, when you fetch for these object and attempt to manipulate them, they fail to work giving this message:
Notice: Undefined index: 000000006f95482300000000384dffac in /srv/app/library/Doctrine/ORM/UnitOfWork.php on line 1901
Issue Links
- relates to
-
DDC-217
Result cache should cache the SQL result and not the final objects
-
Activity
Roman S. Borschel
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Issue Type | Bug [ 1 ] | Improvement [ 4 ] |
| Priority | Critical [ 2 ] | Major [ 3 ] |
Roman S. Borschel
made changes -
Guilherme Blanco
made changes -
| Attachment | DDC446Test.php [ 10508 ] |
Roman S. Borschel
made changes -
| Fix Version/s | 2.1 [ 10022 ] |
Benjamin Eberlei
made changes -
| Fix Version/s | 2.x [ 10090 ] | |
| Fix Version/s | 2.1 [ 10022 ] |
Benjamin Eberlei
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Fix Version/s | 2.2-DEV [ 10157 ] | |
| Fix Version/s | 2.x [ 10090 ] | |
| Resolution | Fixed [ 1 ] |
Benjamin Eberlei
made changes -
| Workflow | jira [ 11096 ] | jira-feedback [ 14339 ] |
Benjamin Eberlei
made changes -
| Workflow | jira-feedback [ 14339 ] | jira-feedback2 [ 16203 ] |
Benjamin Eberlei
made changes -
| Workflow | jira-feedback2 [ 16203 ] | jira-feedback3 [ 18456 ] |
This list may be incomplete, as errors occurred whilst retrieving source from linked applications:
- Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=DDC-446, expand=changesets[-21:-1].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)
Objects coming from the result cache are all detached. The EM does not care about them unless you merge() them. But there should probably be a better exception instead of this notice. Please show the code that causes the notice.
PS: Result caching objects is inefficient.