$project['filename'] is empty AFAICT for CCK. I *think* this is happenning because it doesn't contain a module called cck. Or it could be happenning because I am using cvs_deploy which implements the alter hook. Anyway, this is causing a problem for drush_pm.module which doesn't know what project directory to backup before updating.

i tried to dive in but got a bit tangled. it seems that filename is supposed to be set in update_status_get_projects() but isn't. the intentions there are not totally clear.

Comments

dww’s picture

hrm, evil. i'll try to look into this soon (still catching up from a huge backlog while on vacation for 2 weeks).

moshe weitzman’s picture

i managed to work around this so this can be fixed at your leisure.

dww’s picture

I bet this is actually just another instance of the problem I'm solving at http://drupal.org/node/184664.

I don't suppose you can undo your work-around and test the latest patches there, huh?

dww’s picture

Status: Active » Fixed

This appears to be working now. Must have been solved via #184664: Support subdirectories inside modules or something.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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