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

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Agileware’s picture

Title: drupal-org.make uses short syntax to specify version, however this is then ignored when extended syntax is used » drupal-org.make uses short syntax to specify version, however this is then ignored when extended syntax is used (patch attached)
Status: Active » Needs review
FileSize
1.11 KB

Attached is a patch for the drupal-org.make to fix this issue.

dasjo’s picture

dasjo’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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