Ticket #1768 (closed defect: fixed)

Opened 7 months ago

Last modified 7 months ago

r5301 breaks result cache

Reported by: rroberts Owned by: romanb
Priority: major Milestone: 1.0.6
Component: Caching Version: 1.1-DEV
Severity: Keywords:
Cc: Has Test: yes
Status: Pending Core Response Has Patch: no

Description

The removal of "$params = $this->getParams($params); " from Doctrine_Query_Abstract breaks the result cache hash calculation for "where" parameters provided anywhere other than execute() method.

eg ->addWhere('foo = ?', $bar)

The internal _params array does not get used to generate the result hash.

Attachments

1768TestCase.php (0.6 KB) - added by rroberts 7 months ago.
test case

Change History

Changed 7 months ago by rroberts

test case

Changed 7 months ago by rroberts

  • has_test set

Changed 7 months ago by jwage

  • status changed from new to closed
  • resolution set to fixed

(In [5316]) [1.0, 1.1] Fixes regression in resultset cache (closes #1768) and (addresses #1636 again)

Changed 7 months ago by jwage

  • milestone changed from New to 1.0.5

Changed 7 months ago by jwage

  • milestone changed from 1.0.5 to 1.0.6
Note: See TracTickets for help on using tickets.