Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-35701

'Create Model' form submits without required 'Name' field

XMLWordPrintable

    • None
    • None
    • None
    • None
    • No

      Description of problem:

      The "Create Model" form on the Hardware Models page allows a user to successfully submit the form without entering a value for the "Name" field. This field is visually marked as required with an asterisk (*), but the front-end validation is being bypassed, leading to the creation of a data record with a missing critical value.

      How reproducible:

      Always

      Is this issue a regression from an earlier version:

      yes

      Steps to Reproduce:

      • In the Red Hat Satellite UI, navigate to Content -> Hardware Models.
      • Click the "Create Model" button.
      • On the "Create Model" form, leave the "Name" field empty.
      • Optionally, fill in the "Hardware Model," "Vendor Class," and "Information" fields.
      • Click the "Submit" button.

      Actual behavior:

      The form is successfully submitted without any validation error. But it does not create any optional data

      Expected behavior:
      Upon clicking "Submit," the form should not be submitted. Instead, a validation error should appear next to the "Name" field, informing the user that it is a required field and must be filled out before the form can be submitted. The submit action should be blocked until all required fields are populated.

      Business Impact / Additional info:

      This is a critical data integrity bug. Allowing the creation of incomplete records can lead to backend errors, data inconsistencies, and problems with provisioning or other processes that rely on the Hardware Model data. It also causes a poor user experience, as the user has created an object they cannot properly manage or use. This bug should be prioritized for a fix to ensure data quality and system stability.

              rh-ee-akumari Archana Kumari
              rh-ee-napathak Nakul Pathak
              Nakul Pathak Nakul Pathak
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: