Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-7787

Incorrect behavior of the user.updatemedia method

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Major
    • Resolution: Won't fix
    • Affects Version/s: 2.2.2rc1, 2.3.0
    • Fix Version/s: 2.3.1
    • Component/s: API (A)
    • Labels:

      Description

      The current behavior of the user.updatemedia is really weird. There are two cases:

      1. If you update multiple users and you pass a media without a mediaid, it will delete all media for the given users and create a new media for each user.
      2. If you update multiple users and pass a media WITH a mediaid, it will delete all media for the given users and only update the given media. That is, other users will be left without any media at all.

      This should be discussed before fixed.

        Attachments

          Activity

            People

            Assignee:
            zabbix.dev Zabbix Development Team
            Reporter:
            jelisejev Pavels Jelisejevs (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: