Gracefully fail if update_status 5.x-1.* is being used
z.stolar - September 2, 2007 - 08:17
| Project: | CVS deploy |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | dww |
| Status: | closed |
Description
I'm using CVS to update my site. I've installed update_status and cvs_deploy.
When activating cvs_deploy, I get an error of calling an undefined function update_status_get_project.
This error appears in line 100 of cvs.deploy:
<?php
if (module_exists('update_status')) {
$project['project'] = update_status_get_project($file);
}
?>| Attachment | Size |
|---|---|
| update_status_get_project.patch | 382 bytes |

#1
CVS deploy is meant for update_status 5.x-2.*. update_status 5.x-1.* is now deprecated, and should no longer be used.
That said, it'd be nice to more gracefully handle this error case. However, the patch here is wrong, and will break things in update_status 5.x-2.* land.
#2
like so.
#3
Committed to DRUPAL-5 branch. D6 (HEAD) is a whole different story, so I'm going to call this particular issue fixed.
#4
Automatically closed -- issue fixed for two weeks with no activity.