Closed (fixed)
Project:
Monitoring Slack
Version:
1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Apr 2026 at 19:18 UTC
Updated:
7 May 2026 at 21:25 UTC
Jump to comment: Most recent
When both monitoring_mail and monitoring_slack are enabled, the two modules alter the same monitoring_settings form without setting #tree on their fieldsets. Both add a severities checkboxes element at the top level, so Drupal generates identical HTML input names (severities[OK], severities[WARNING], …) for both fieldsets.
Result:
severities value exists in $form_state — both submit handlers read the same value.monitoring.settings writes the same severities into both monitoring_mail.settings and monitoring_slack.settings.monitoring, monitoring_mail, monitoring_slack.Add #tree => TRUE on the slack fieldset so all Slack fields namespace under slack[*]. Update the submit handler, the test-button submit handler and #limit_validation_errors to use the nested paths.
None.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
mably commentedComment #5
mably commented