Uploaded image for project: 'Metron'
  1. Metron
  2. METRON-1634

Alerts UI add comment doesn't immediately show up.

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 0.6.0
    • Labels:
      None

      Description

      For ES (and potentially Solr), when the Alerts UI adds a comment to an alert, it calls the update, then immediately calls a findOne to retrieve it. This comment might not immediately be available, so it doesn't show the new comment.

      Instead of running a findOne, assuming the update responds appropriately, we should probably just add it directly in the UI.

      Also applies to removing a comment

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rmerriman Ryan Merriman
                Reporter:
                rmerriman Ryan Merriman
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: