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

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • 4.16.0
    • 4.15
    • Management Console
    • None
    • Low
    • No
    • False
    • Hide

      None

      Show
      None
    • Hide
      *Previously, the creator field was autopopulated and not mandatory. Updates to the API made the field empty from 4.15 on. With this update, the field is marked as mandatory for correct validation. (link:https://issues.redhat.com/browse/OCPBUGS-31931[*OCPBUGS-31931*])
      Show
      *Previously, the creator field was autopopulated and not mandatory. Updates to the API made the field empty from 4.15 on. With this update, the field is marked as mandatory for correct validation. (link: https://issues.redhat.com/browse/OCPBUGS-31931 [* OCPBUGS-31931 *])
    • Bug Fix
    • Done

      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)

              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

                Created:
                Updated:
                Resolved: