Alert UI is trimming the double space in Alias field

XMLWordPrintable

    • 1
    • Minor

      Issue Summary

      This is a UI bug with the Alert Alias. 

      If the Alias in the payload has a double space, this does not show in the UI, though it is still there, as other alerts with a similar Alias but without the double space will not deduplicate with it 

      E.G. 

      In the payload, the alias may be:

      Something -  Something

      Notice there are 2 spaces after the hyphen 

      But in the Alert UI it will show as: 

      Something - Something
      

      With only 1 space after the hyphen 

       

      This can make it seem like 2 alerts with the same Alias are not deduplicating, when in fact, the actual alias of one may have a double space (meaning it is not identical to the other). 

      Steps to Reproduce

      1. Create an Alert with an alias that has a double space, e.g. 
        something -  something
      1. Notice that in the logs, the payload honours the double space 
      2. Notice that in the alert itself, the alias appears without the double space - i.e. like this: 
        something - something 

      Expected Results

      For the double space to show in the alert UI as well.

      Actual Results

      Alert UI seems to be trimming the extra space  

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            Assignee:
            Unassigned
            Reporter:
            Talar Pavlovic
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: