[ZBX-18653] Add script item/webhook parameter name restriction to the documentation Created: 2020 Nov 14 Updated: 2024 Apr 10 Resolved: 2020 Nov 29 |
|
| Status: | Closed |
| Project: | ZABBIX BUGS AND ISSUES |
| Component/s: | Documentation (D) |
| Affects Version/s: | 5.0.5, 5.2.1 |
| Fix Version/s: | 5.4 (plan) |
| Type: | Problem report | Priority: | Major |
| Reporter: | Edgar Akhmetshin | Assignee: | Martins Valkovskis |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Team: | |||||
| Sprint: | Sprint 70 (Nov 2020) | ||||
| Description |
|
Steps to reproduce:
request.AddHeader('x-api-key: '+params.some-api-parameter);
Result: Cannot execute script: ReferenceError: identifier 'api' undefined
at [anon] (duktape.c:81729) internal
at [anon] (function:7) preventsyield
Expected in documentation:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Grammar_and_types |
| Comments |
| Comment by Martins Valkovskis [ 2020 Nov 25 ] |
|
Documentation has been updated by adding a link to JavaScript Guide for script items. |