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

Incorrect behavior of the user.updatemedia method

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Major Major
    • 2.3.1
    • 2.2.2rc1, 2.3.0
    • API (A)

      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.

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

              Created:
              Updated:
              Resolved: