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

Can not change maintenance period on WEB UI Frontend with PostgreSQL

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Blocker
    • Resolution: Duplicate
    • Affects Version/s: 2.0.6
    • Fix Version/s: None
    • Component/s: Frontend (F)

      Description

      On Zabbix 2.0.6 we can not change maintenance period on WEB UI Frontend with PostgreSQL.
      But it does not occur with MySQL.

      As you understand by seeing attached patch, date('YmdHi', $_REQUEST['timeperiods'][$edit_timeperiodid]['start_date']); creates integer value like 201307191057. But it is larger than the DB acceptable value. As MySQL is fool, it converts to integer maximum value. But PostgreSQL does not and issues error.
      Though $_REQUEST['new_timeperiod']['start_date'] is almont meanleas variable, I choose non problem value.

      It must be applied to 1.8.16.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              daiki.matsuda@miraclelinux.com MATSUDA Daiki
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: