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

Change validation behaviour of redundant fields for various API objects

    XMLWordPrintable

Details

    • Team C
    • Sprint 91 (Aug 2022), Sprint 92 (Sep 2022)
    • 3

    Description

      The introduction of more strict API validation of fields passed as input (for mostly create/update methods) interferes with template import and adds additional requirements to frontend to leave out fields not applicable to specific entities according to their type, whether they stem from a template, are inherited or discovered, etc.

      Conditions of API_UNEXPECTED should be reworked to accept database record defaults - for import.

      Frontend should be reworked with additional conditions to collect only those fields that are applicable to the current entity type and state,, prohibiting passing of additional fields (e.g. ones marked disabled/hidden, but currently can still be fed in for updates where not appropriate).

      Attachments

        Issue Links

          Activity

            People

              gcalenko Gregory Chalenko
              vmaksimovs Vladimirs Maksimovs
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: