Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-35702 Raw backend error displayed on submitting blank 'New Organisation' form
  3. SAT-37915

[QE] Raw backend error displayed on submitting blank 'New Organisation' form

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • 0
    • sat-endeavour
    • Satellite Rocket Sprint 4, Satellite Rocket Sprint 5

      Description of problem:

      When a user attempts to submit the "New Organisation" form with blank or invalid data, the application fails to provide a proper, user-friendly validation error. Instead, it displays an unhandled, raw backend error message in a large pop-up. The error message includes raw JSON data and technical details (e.g., undefined method...), which is confusing for the user and reflects a major UI/UX flaw.

      How reproducible:

      Always

      Is this issue a regression from an earlier version:

      Yes

      Steps to Reproduce:

      • In the Red Hat Satellite UI, navigate to the Organizations page.
      • Click the "New Organisation" button.
      • On the "Create Organisation" form, leave all fields (e.g., "Name") blank.
      • Click the "Submit" button.

      Actual behavior:

      The form does not perform front-end validation. Upon submission, a large, red error message appears in the top-right corner of the screen. This message contains raw backend data, including a JSON dump and an unhandled exception error, which is not understandable to the end user. The user is not informed which fields were required or what went wrong in a human-readable format.

       

      Expected behavior:

      The form should validate user input before submission. Upon clicking "Submit," if a required field is blank, the form should display a clear, user-friendly error message (e.g., "Name can't be blank" or "This field is required") next to the corresponding input field. No raw backend error should ever be displayed to the user.

       

      Business Impact / Additional info:

      This is a critical bug. Displaying raw backend errors is a severe usability and professional flaw. It confuses the end user, makes the application appear unstable and unprofessional, and could potentially expose sensitive system information. This issue directly impacts the user's ability to successfully create a new organization, which is a fundamental feature of the product. It should be addressed with high priority.

      QE Tracker for https://issues.redhat.com/browse/SAT-35702

              rh-ee-napathak Nakul Pathak
              satellite-jira-automation@redhat.com Satellite Jira-Automation
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: