[ZBX-17561] Global macros change/remove action enables macro field mistakenly Created: 2020 Apr 07  Updated: 2024 Apr 10  Resolved: 2020 Jun 04

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 5.0.0beta1
Fix Version/s: 5.0.2rc1, 5.2.0alpha1, 5.2 (plan)

Type: Problem report Priority: Trivial
Reporter: Larisa Grigorjeva (Inactive) Assignee: Vladimirs Maksimovs
Resolution: Fixed Votes: 0
Labels: edit, globalmacro, macro, macros
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: GIF File Peek 2020-04-07 18-54.gif    
Team: Team D
Sprint: Sprint 63 (Apr 2020), Sprint 64 (May 2020), Sprint 65 (Jun 2020)
Story Points: 0.25

 Description   

Steps to reproduce:

  1. Have some saved global user macros
  2. Go to host configuration, click Macros tab
  3. Open inherited macros tab
  4. Choose one macro and click "Change"
  5. See that macro remained disabled, value and description fields became editable.
  6. Add new value and/or description, save form.
  7. Open host configuration again, open Macros tab
  8. See that edited macro presents in Host macros tab and is editable - Expected
  9. Open inherited macros tab, edited macro presents in Host macros tab and also is editable - Expected
  10. Click Remove

Result:
Value and Description fields have been reset and disabled - Expected
Macro field became editable - NOT EXPECTED.

If user tries to change this macro field and submit form  - there is no any error message, but change is not saved in DB.
Expected:
All macro fields should become disabled after remove is pressed



 Comments   
Comment by Vladimirs Maksimovs [ 2020 Apr 24 ]

Fixed in development branch feature/ZBX-17561-4.5

Comment by Vladimirs Maksimovs [ 2020 Jun 02 ]

Fixed in:

Generated at Mon Apr 07 15:04:00 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.