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

When deleted items from WEB GUI,the trends_uint recode will not be deleted from DB.

    XMLWordPrintable

Details

    • Incident report
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6.7
    • 1.8.3
    • Frontend (F)
    • None

    Description

      When deleted items from WEB GUI,the trends_uint recode will not be deleted from DB.

      \frontends\php\include\items.inc.php
      function delete_trends_by_itemid($itemids, $use_housekeeper=0){
      zbx_value2array($itemids);

      if($use_housekeeper){
      foreach($itemids as $id => $itemid)

      { $housekeeperid = get_dbid('housekeeper','housekeeperid'); DBexecute('INSERT INTO housekeeper (housekeeperid,tablename,field,value)'. " VALUES ($housekeeperid, 'trends','itemid',$itemid)"); }

      return TRUE;
      }
      return DBexecute('DELETE FROM trends WHERE '.DBcondition('itemid',$itemids));
      }

      As shown as the function,the trends_uint will not be added to housekeeper table.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              k-ren k-ren
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: