Cannot add a Host with a long Host Group name

XMLWordPrintable

    • Type: Problem report
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: 6.0.33, 7.0.3, 7.2.0alpha1
    • Component/s: 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.

            Assignee:
            Zabbix Development Team
            Reporter:
            Ivo Kurzemnieks
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: