Created attachment 1511267 [details]
Description of problem:
Getting a blank page with an error in the console for modules streams details Pag, In case of no repos are synced in Satellite.
Version-Release number of selected component (if applicable):
Satellite 6.5 Snap 6
Steps to Reproduce:
1. Navigate to ModuleStreams Details Page.
Getting a blank page with an error in the console
Module Stream Details page should be seen with "No Module Streams found"
react-dom.production.min.js:171 TypeError: Cannot read property 'title' of undefined
at l (katello-71eb3aecdd54ecdc52c1.js:1)
at eo (react-dom.production.min.js:161)
at Oo (react-dom.production.min.js:192)
at Po (react-dom.production.min.js:193)
at di (react-dom.production.min.js:205)
at ui (react-dom.production.min.js:204)
at No (react-dom.production.min.js:200)
at Object.enqueueSetState (react-dom.production.min.js:130)
at i.y.setState (react.production.min.js:13)
oo @ react-dom.production.min.js:171
katello-71eb3aecdd54ecdc52c1.js:1 Uncaught (in promise) TypeError: Cannot read property 'data' of undefined
at t.getResponseErrorMsgs (katello-71eb3aecdd54ecdc52c1.js:1)
at dispatch (applyMiddleware.js:35)
It looks like a change in katello was included in 3.10 that was expecting a change to be in Foreman 1.20 (probably due to the later katello branch date).
The katello change in 3.10 is:
The foreman change is:
I do not see this foreman change in Foreman 1.20, so this results in the errors being reported above.
Is there a way we can pull in https://projects.theforeman.org/issues/24660/ to foreman 1.20? This is probably broken upstream as well, though I haven't checked yet.
Can you see if this was resolved in the latest snap?
With Latest 6.5 Snap7 this issue is no more reproducible, marking as verified.
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, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.