-
Incident report
-
Resolution: Duplicate
-
Trivial
-
None
-
7.0.12rc1, 7.2.6rc1, 7.4.0beta1 (master)
Problem description: It is allowed to add new value mapping with a symbol that requires esacping in its name, but after the configuration form is submitted, when attempting to update the configuration of this value mapping an "Unexpected server error" is returned in Value mapping configuration dialog.
Furthermore, even though the error is displayed and configuration dialog is still opened, the changes are already saved, and will be applied if You cancel the configuration update.
Steps to reproduce:
- Open configuration of any existing host
- Open Value mapping tab
- Add a value mapping that has double quotes in its name, for exmple: AA"aa
- Submit Value mapping configuration dialog - notice that value mapping is successfully saved
- Open configuration of this Value mapping in edit mode
- Add another symbol to the name of the value mapping (for example letter B)
- Attempt to save Value mapping configuration
Result:
- "Unexpected server error" error is displayed
- Configuration dialog is not closed
- If You press the Cancel button You will see that the new letter was actually added to the name of the value mapping
Expected: No errors should be observed, configuration form should be submitted, value mapping update should be successful.
- duplicates
-
ZBX-24047 Can't update value mapping if mapping name contains quotes
-
- READY TO DEVELOP
-