Typo in official Mattermost media type template: 'fallbac' instead of 'fallback'

XMLWordPrintable

    • Type: Incident report
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: 6.0.42, 6.0.43, 7.0.21, 7.0.22, 7.4.5, 7.4.6
    • Component/s: Templates (T)
    • Environment:
      Zabbix 6.0.37 (running on Linux)

      A typo has been identified in the official Mattermost media type template script: the attachment property fallback is misspelled as fallbac inside the createMessage function.

      Impact

      Because the attachment does not match Mattermost API expectations, notifications can:

      • lose their plain-text summary (fallback text), or
      • fail to display correctly in mobile notifications and desktop popups.

      Steps to Reproduce

      1. Open the official Mattermost media type template script.
      2. Locate the createMessage function.
      3. Find the line where the attachment is built and observe the typo:
        fallbac: params.alert_subject
        

      Verification

      Confirmed the typo exists in the official repository branches:

      • release/6.0
      • release/6.4
      • release/7.0
      • master

      Suggested Fix

      Update the property name from fallbac to fallback (around line ~354 in the template script).

      Patch (Minimal Change)

      Unable to find source-code formatter for language: diff. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml- fallbac: params.alert_subject,
      + fallback: params.alert_subject,
      

      Expected Result

      Mattermost notifications include a plain-text fallback summary and render consistently on mobile devices and desktop popups.

      Actual Result

      Fallback summary is missing or notifications render inconsistently due to the incorrect property name (fallbac).

            Assignee:
            Zabbix Integration Team
            Reporter:
            Leopoldo Briens
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: