drupal-org.make uses short syntax to specify version, however this is then ignored when extended syntax is used.
Make file includes these lines:
projects[block_class] = 1.2
; Features support http://drupal.org/node/1230234
projects[block_class][patch][] = "http://drupal.org/files/block_class.features-dev-24.patch"
However, because a patch file is set as well, the actual version number specified is ignore causing drush make to download the latest stable release for the block_class module, 7.x-2.0. The build succeeds however installation using the build fails horribly due to database errors.
The fix is simply to explicitly set the version:
projects[block_class][version] = 1.2
; Features support http://drupal.org/node/1230234
projects[block_class][patch][] = "http://drupal.org/files/block_class.features-dev-24.patch"
For more details about this problem see http://drupal.org/node/1899112 and a very good writeup on http://blog.riff.org/2013_01_25_when_drush_make_fails_to_apply_patches
Comment | File | Size | Author |
---|---|---|---|
#1 | recruiter-drupal-org-make-short-syntax-fix-1948544.patch | 1.11 KB | Agileware |
Comments
Comment #1
Agileware CreditAttribution: Agileware commentedAttached is a patch for the drupal-org.make to fix this issue.
Comment #2
dasjogreat catch, thanks!
http://drupalcode.org/project/recruiter.git/commit/87c9818
Comment #3
dasjo