[ZBX-21838] All actions being listed in Used in actions column in mediatype list Created: 2022 Oct 31 Updated: 2024 Nov 25 Resolved: 2024 Nov 25 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 5.0.29rc1, 6.0.10rc2, 6.2.4rc1, 6.4.0beta2 |
Fix Version/s: | 6.0.34rc1, 7.0.4rc1, 7.2.0alpha1 |
Type: | Problem report | Priority: | Trivial |
Reporter: | Andrejs Griščenko | Assignee: | Andrejs Griščenko |
Resolution: | Fixed | Votes: | 2 |
Labels: | actions, mediatypes | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | 3h | ||
Original Estimate: | Not Specified |
Attachments: |
![]() |
||||
Issue Links: |
|
||||
Team: | |||||
Sprint: | S24-W34/35, S24-W48/49 | ||||
Story Points: | 0.5 |
Description |
Steps to reproduce:
Expected: "action1", "action2" and an ellipsis are displayed. |
Comments |
Comment by Brian van Baekel [ 2024 Jul 26 ] |
We are talking here about this, right? Or am I mixing up things here? |
Comment by Andrejs Griščenko [ 2024 Jul 29 ] |
brian.baekel, yes, this is the place. Actions here are displayed with no limits, while in other places the maximum number of elements in the cell depends on the settings. |
Comment by Brian van Baekel [ 2024 Jul 29 ] |
Thanks agriscenko! It's not only without limits, but also actions are listed for mediatypes whilst they are not used at all in that action. Extremely confusing and I actually had a customer that cloned a mediatype, completely got lost "because it was suddenly used in all actions" and ended up restoring a backup of before their clone action... IMO this should be fixed in such a way that only actions should be listed in that column if they are actually using that mediatype. |
Comment by Andrejs Griščenko [ 2024 Jul 29 ] |
brian.baekel, yes, starting from version 7.0, all actions with any operations that use the media type are listed in the column, including operations in which mediatype is used indirectly ("Send message via all media"). This was changed in |
Comment by Brian van Baekel [ 2024 Jul 29 ] |
Thanks agriscenko, i understand the goal of The other option, selecting multiple 'send to' in one single action step is not available, forcing either 'all' and accepting this strange media type page, or creating a massive overhead by defining many action steps each with their own 'send to' Not sure what the best solution is in this case :'( |
Comment by Kevin Daudt [ 2024 Aug 07 ] |
This affects us as well. We have a lot of actions (we have a dashboard where users can create their own subscriptions, which creates an action in the background. These actions send problem alerts to specific media only, but the recovery operation is 'Notify all involved'. I suspect this makes the action included as well for all media types. The result is that it takes several minutes to load the Media Types page for us. |
Comment by Andrejs Griščenko [ 2024 Aug 07 ] |
In this task, the only problem that will be fixed is that the number of actions in mediatype list in the "Used in actions" column does not take into account the "Max count of elements to show inside table cell" parameter. In addition, but only for versions 7.0 and master, several visual improvements will be made for consistency with other places (host groups, template groups, proxies etc.):
The problem with displaying all actions, including operations in which mediatype is used indirectly, and possible performance related issues will be fixed separately. Please see |
Comment by Andrejs Griščenko [ 2024 Aug 16 ] |
Available in versions:
|
Comment by Martins Valkovskis [ 2024 Nov 07 ] |
Updated documentation: |