Closed (fixed)
Project:
Project
Version:
5.x-1.x-dev
Component:
Releases
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
23 Aug 2007 at 13:32 UTC
Updated:
6 Jan 2008 at 01:41 UTC
If a project_release node is deleted, the cached value of the release tables for the project associated with the now deleted project_release node is not modified. This results in download tables that contain links to release nodes that no longer exist. The attached patch fixes this problem by adding a call to cache_clear_all() from project_release_delete().
I tested the patch on my site and confirmed that with the patch the cache table is cleared appropriately so that the download table can be rebuilt.
| Comment | File | Size | Author |
|---|---|---|---|
| project_release_cache_clear_delete_0.txt | 723 bytes | aclight |
Comments
Comment #1
hunmonk commentedfixed in HEAD. the cache system changed in 5.x IIRC, so this will need some massaging to get backported.
Comment #2
hunmonk commentedheh. no backporting necessary -- we never put a caching system into place for 4.7 :)
Comment #3
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.