Development

#4614 (Global cache never cleared)

You must first sign up to be able to contribute.

Ticket #4614 (closed defect: fixed)

Opened 9 months ago

Last modified 8 months ago

Global cache never cleared

Reported by: Jonathan.Wage Assigned to: fabien
Priority: minor Milestone: 1.1.5
Component: cache Version: 1.2.0 DEV
Keywords: Cc:
Qualification: Unreviewed

Description

Line 127 of sfClearCacheTask.class.php in symfony 1.2 never gets executed.

This was discovered by ticket #4551 as the plugin writes some tmp files to cache/tmp but they are never cleared by the clear cache command.

This condition here can never evaluate to true:

if (is_null($options['app']) && is_null($options['type']))

The default 'type' option is 'all' and I don't know of a way to make the value null either.

Change History

11/01/08 17:55:27 changed by fabien

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

(In [12548]) [1.2] fixed global cache never cleared (closes #4614)

11/01/08 17:55:59 changed by fabien

(In [12549]) [1.1] fixed global cache never cleared (closes #4614)

11/01/08 17:56:12 changed by fabien

  • milestone changed from 1.2.0 to 1.1.5.

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting, and supporting several large Open-Source projects.