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

Cannot add a Host with a long Host Group name

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 6.0.33, 7.0.3, 7.2.0alpha1
    • API (A)

      Scenario that works:
      1. Create a host group with a long name. Just fill up the field to the brink and saved.
      2. Open host creation form and choose the host group.
      3. Save. And it works.

      Scenario that does not work:
      1. Open host creation form type a very long name in host group.
      2. Save. Error from API:

      Invalid parameter "/1/name": value is too long. [zabbix.php:17 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerHostCreate->doAction() → CControllerHostUpdateGeneral->processHostGroups() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CHostGroup->create() → CHostGroup::validateCreate() → CApiService::exception() in include\classes\api\services\CHostGroup.php:570]
      

      Should be possible to create such host in both ways.

            zabbix.dev Zabbix Development Team
            iivs Ivo Kurzemnieks
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: