I tried to make a full installation of Drupal 7 via Composer, and noticed that there is a package dependency issue in this module due to the way how module dependency is defined since Drupal 7.40.

For now, if you try to install MultiBlock 7.x-1.4 via Composer, following error shows up:

Problem 1
- Installation request for drupal/multiblock 1.4 -> satisfiable by drupal/multiblock[1.4.0].
- drupal/multiblock 1.4.0 requires drupal/rebuild-block * -> no matching package found.

The problem is similar to this issue reported under module "Menu Attach Block".

A patch is attached to address the problem.

Reference:

CommentFileSizeAuthor
#2 multiblock.2820150.2.patch331 bytesdeminy
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

deminy created an issue. See original summary.

deminy’s picture

FileSize
331 bytes

  • deminy authored ddf3862 on 7.x-1.x
    Issue #2820150 by deminy: make dependencies in the .info file friendly...
intrafusion’s picture

Status: Active » Fixed
Leeteq’s picture

Version: 7.x-1.x-dev » 7.x-1.5
Status: Fixed » Needs work

When updating to version 1.5 on a site that is running Drupal 7.38 (and does not need any of the newer versions/fixes), I get the following error which prevents updating the database:

Error
Unresolved dependency drupal:block (Missing)
MultiBlock requires this module.

Error
Unresolved dependency drupal:system (Missing)
MultiBlock requires this module.

I replaced the module files with version 1.4, refreshed the update.php page, and then the errors went away so the update could then be completed successfully.

deminy’s picture

This update is for Drupal 7.40+ so for sites that use old version of Drupal, it's better to stay with old version of Drupal modules. In other words, for compatibility reason people should upgrade Drupal core and modules simultaneously for major changes.

intrafusion’s picture

Version: 7.x-1.5 » 7.x-1.x-dev
Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

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