Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-7085

Action formula DB field for custom expression might be more than 255 chars

XMLWordPrintable

    • Team C
    • Sprint 82 (Nov 2021), Sprint 83 (Dec 2021)
    • 0.5

      Steps to reproduce:
      Have many actions and conditions. And in some cases can be reached limit of DB field.

      Result:

      
      Value "{676} and ({678} or ({679} and ({682} or {683} or {684} or {685} or {707}) and {686} and {687})) and {688} and {689} and {690} and {691} and {692} and {693} and {694} and {695} and {696} and {697} and {698} and {699} and {700} and {701} and {705} and {706}" is too long for field "formula" - 256 characters. Allowed length is 255 characters. [actionconf.php:170 → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CAction->update() → CAction->updateFormula() → DB::updateByPk() → DB::update() → DB::checkValueTypes() → DB::exception() in include/classes/db/DB.php:342]
      

      Expected:
      Successfully change the action expression.

            ak Andrejs Kozlovs
            neogan Andrei Gushchin (Inactive)
            Team C
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: