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

Global macro are not sorted by globalmacroid in the "globalmacro" table

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Major Major
    • None
    • 1.9.9 (beta)
    • Frontend (F)
    • None

      Global macro are not sorted by globalmacroid in the "globalmacro" table.

      That is why the following DB check "SELECT * FROM globalmacro WHERE macro='$macro' AND value='$macrovalue' and globalmacroid=".$row['globalmacroid'] " in the "testFormAdministrationGeneralMacro.php" is failing in the function "testFormAdministrationGeneralMacro_Update".

      Details from Hudson:

      testFormAdministrationGeneralMacro::testFormAdministrationGeneralMacro_Update
      Current URL: http://hudson/~hudson/trunk-FRONTEND-POSTGRESQL/frontends/php/config.php
      Screenshot: http://192.168.3.32/~hudson/screenshots/25fa61cb8cdd95e52aa3242c3d96fec3.png

      Chuck Norris: Value of the macro has not been updated in the DB. Perhaps it was saved with different globalmacroid.
      Failed asserting that <integer:0> matches expected <integer:1>.

      /home/hudson/public_html/trunk-FRONTEND-POSTGRESQL/frontends/php/tests/selenium/testFormAdministrationGeneralMacro.php:93

      Actually globalmacro has been updated in the DB successfully (can see this on the following screenshot: http://192.168.3.32/~hudson/screenshots/25fa61cb8cdd95e52aa3242c3d96fec3.png

            Unassigned Unassigned
            igor Igor Danoshaites (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: