Description of problem: Export Template sync fails with error below: Oh no! Something went wrong while submitting the form, the server returned the following error: Error: Request failed with status code 422 Version-Release number of selected component (if applicable): 6.9 How reproducible: Always Steps to Reproduce: 1. Hosts -> Sync Templates 2. Select Action type as Export 3. Click Submit 4. You will land to new Page "No Template Sync Result", Click Sync Templates 5. You will see error message as below: Oh no! Something went wrong while submitting the form, the server returned the following error: Error: Request failed with status code 422 Actual results: Error received: Oh no! Something went wrong while submitting the form, the server returned the following error: Error: Request failed with status code 422 Expected results: Proper error message as Error! Please specify a branch when exporting into a git repo Additional info:
Is this a regression from 6.8?
(In reply to Brad Buckingham from comment #1) > Is this a regression from 6.8? Yes, this is a regression from 6.8. Regards, Anand
Created redmine issue https://projects.theforeman.org/issues/31985 from this bug
Upstream bug assigned to oezr
VERIFIED Satellite 6.9 snap 17: foreman-2.3.1.18-1.el7sat.noarch tfm-rubygem-foreman_templates-9.0.2-1.el7sat.noarch Additional info: BZ1941640 created to fix the extra step described in point 4. in the reproducer.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: Satellite 6.9 Release), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:1313