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

Useless constants and profile keys

XMLWordPrintable

    • Sprint 49 (Feb 2019), Sprint 50 (Mar 2019)
    • 0.125

      The following issues were found:

      1. Useless constants
        • WIDGET_HAT_EVENTACTIONMCMDS
        • WIDGET_HAT_EVENTACTIONMSGS
      2. Useless profile keys
        • web.tr_events.hats.hat_eventactionmsgs.state
        • web.tr_events.hats.hat_eventactionmcmds.state

      Originally, the above constants were used to save the state, whether each of the tables Message actions and Command actions on Event details page is collapsed, to user profile. After -ZBXNEXT-4447- these tables are gone, but constants are not. They can be safely removed from defines.inc.php and tr_events.php.

      WIDGET_HAT_EVENTACK and web.tr_events.hats.hat_eventack.state were used for table Acknowledgements. Now they are used for table Actions. Please consider renaming them to WIDGET_HAT_EVENTACTIONS and web.tr_events.hats.hat_eventactions.state or similar.

            agriscenko Andrejs Griščenko
            agriscenko Andrejs Griščenko
            Team D
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: