Bug #38719
closedsuse product selection error in foreman 3.15 katello 4.17
Description
Hello,
In short: Right now selecting new products to sync with suse creates errors.
Browser console output:
react-dom.production.min.js:194
Invariant Violation: Minified React error #130; visit https://reactjs.org/docs/error-decoder.html?invariant=130&args[]=undefined&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at react-dom.production.min.js:13:316
at l (react-dom.production.min.js:14:166)
at Xr (react-dom.production.min.js:119:40)
at f (react-dom.production.min.js:135:386)
at v (react-dom.production.min.js:138:145)
at react-dom.production.min.js:142:131
at xa (react-dom.production.min.js:160:72)
at react-dom.production.min.js:177:151
at Gl (react-dom.production.min.js:221:22)
at Vl (react-dom.production.min.js:222:284)
Long version:
I deployed foreman with katello and scc plugin. The installation went through without a problem.
After the deployment I created the credentials for suse account and synced the content witch also gave no errors.
IF I now open the website and go to Content -> Suse Subscriptions -> select Product and on the new site click on the dropdown menu for "Select SUSE products" the content of the subwindow is errased (side and top bar are there but the rest is white) and the error gets shown in the console.

I tryed both foreman 3.16 with katello 4.18 and 3.15 with 4.17. And the result is the same. Also the production.log of foreman shows no errors regarding the website call.
Another thing I noticed is that since the sync went through I can use the ansible collection to enable suse products (as long as I know the id).
These products then also get displayed under Content -> Suse Subscriptions -> select Product. These Products also behave normaly.
So only the display for the dropdown seems to be broken.
Files