Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
In the sms_actions trigger page admin/structure/trigger/sms_actions there is a trigger that says "TRIGGER: WHEN AN SMS MESSAGE WITH ANY DISCRIMINATOR IS RECEIVED". However, this trigger doesn't work and actions assigned to it will not be triggered when an sms with "ANY" discriminator is received.
Found this while writing tests for sms_actions.module.
Proposed resolution
Fix the bug so the "Any discriminator" trigger will work as specified.
Remaining tasks
Patch (with tests).
Review
Commit
User interface changes
API changes
Comment | File | Size | Author |
---|---|---|---|
#3 | sms_actions_any_discriminator-2401697-3.patch | 1.92 KB | almaudoh |
#3 | interdiff.txt | 1.32 KB | almaudoh |
#1 | sms_actions_any_discriminator-2401697-1-fail.patch | 1.22 KB | almaudoh |
Comments
Comment #1
almaudoh CreditAttribution: almaudoh commentedAdded a test without the fix. This patch should fail.
Comment #3
almaudoh CreditAttribution: almaudoh commentedUpdated test and applied fix.
Comment #5
almaudoh CreditAttribution: almaudoh commentedCommitted / pushed to 7.x-1.x