Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-31931

Unable to create alert silence in UI though "creator" filed is NOT mandatory

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Normal
    • 4.16.0
    • 4.15
    • Management Console
    • None
    • Low
    • No
    • False
    • Hide

      None

      Show
      None
    • Before, the creator field was not mandatory as it was pre-filled. Changes in the API made the field empty from 4.15. After the fix, the changes in the API are considered and the field is marked as mandatory for correct validation.
    • Bug Fix
    • In Progress

    Description

      Description of problem:

      When creating alerting silence from RHOCP UI without specifying "Creator" field, error "createdBy in body is required" even though field "Creator" is not marked as mandatory.

      Version-Release number of selected component (if applicable):

      4.15.5

      How reproducible:

      100%

      Steps to Reproduce:

          1. Login to webconsole (Admin view)
          2. Observe > Alerting
          3. Select the alert to silence
          4. Click Create Silence.
          5. in Info section, update the "Comment" field and skip the "Creator" field. Now, click on Create button.
          6. It will throw an error "createdBy in body is required". 
          

      Actual results:

      Able to create alerting silence without specifying "Creator" field.

      Expected results:

      User should not be able to create silences without specifying "Creator" field as it should be a mandatory.

      Additional info:

      The steps works well for prior version of RHOCP 4.15 (tested on 4.14)

      Attachments

        Issue Links

          Activity

            People

              gbernal@redhat.com Gabriel Bernal
              rhn-support-dgautam Dhruv Gautam
              Junqi Zhao Junqi Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: