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

Runtime error pressing "Reset" button in Monitoring Hosts autotest

XMLWordPrintable

      During testPageMonitoringHosts autotest update runtime error was found. 

      Runtime error appears pressing Reset button (can't repeat manually, only in autotest). 

      Code example that allows summon error:

       <?php
      require_once dirname(__FILE__).'/../include/CWebTest.php';
      class testDemo extends CWebTest {
              public function testDemo_TagsFilter() {
                      $this->page->login();                for ($i = 0; $i < 10; $i++) {
                              $this->page->open('zabbix.php?port=10051&action=host.view&groupids%5B%5D=4');
                              $this->query('button:Apply')->one()->waitUntilClickable()->click();
                              $this->page->waitUntilReady();                        
                              $this->query('button:Reset')->one()->click();
                      }
              }
      }

      Runtime error message:

       Failed to write session data (user). Please verify that the current setting of session.save_path is correct (/var/lib/php/sessions) [: -> CConfigFile->{closure}()]

       

        1. testDemo.php
          0.6 kB
          Sergejs Maklakovs

            zabbix.dev Zabbix Development Team
            smaklakovs Sergejs Maklakovs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: