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.

CommentFileSizeAuthor
project_release_cache_clear_delete_0.txt723 bytesaclight

Comments

hunmonk’s picture

Version: 5.x-1.x-dev » 4.7.x-2.x-dev
Status: Needs review » Patch (to be ported)

fixed in HEAD. the cache system changed in 5.x IIRC, so this will need some massaging to get backported.

hunmonk’s picture

Version: 4.7.x-2.x-dev » 5.x-1.x-dev
Status: Patch (to be ported) » Fixed

heh. no backporting necessary -- we never put a caching system into place for 4.7 :)

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.