Problem/Motivation

The business rules module contains a sub-module, Business Rules - SMS Framework Integration (br_sms), whose modules/br_sms/br_sms.info.yml declares a dependency on sms:sms

Problem is, https://www.drupal.org/project/sms is a project placeholder (with an empty repository) for the https://www.drupal.org/project/smsframework project - although the first module declared in smsframework has the machine name sms, so sites that already had the smsframework project installed would already have a module named sms, and would continue to work (meaning it would be difficult to notice this problem).

I believe this is causing the Composer require-dev failure messages that happen when Testbot tries to run automated tests for this module.

Proposed resolution

modules/br_sms/br_sms.info.yml needs to be changed to depend on smsframework:sms instead.

Remaining tasks

  1. Write a patch
  2. Review and feedback
  3. RTBC and feedback
  4. Commit

User interface changes

None.

API changes

None.

Data model changes

None.

Comments

mparker17 created an issue. See original summary.

mparker17’s picture

Issue summary: View changes
StatusFileSize
new596 bytes

Here's a patch. Existing tests already appear to be catching the problem, so I didn't add any to this patch.

mparker17’s picture

Status: Active » Needs review

Hmm... I wonder if, because Composer is used to download and install dependencies, Composer's list of dependencies are cached for the branch? If so, we won't know until it merges.

Reviews welcome nonetheless.

  • colan committed c2a8cdd on 8.x-1.x authored by mparker17
    Issue #3172710 by mparker17: Fixed the SMS Framework project's namespace...
colan’s picture

Let's see what the testbot says.

colan’s picture

Status: Needs review » Fixed

Branch is now passing so all good here. Thanks!

Status: Fixed » Closed (fixed)

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