Problem:
When I go to Content -> Subscriptions and want to open a subscription, content container is blank and the container reactRoot only shows an empty div.
Expected outcome:
Subscription details should be shown.
Foreman and Proxy versions:
Foreman 1.19.0 (occurs from 1.18.0 on)
Iâve just reproduced this on a katello 3.8 box.
Looks like an issue in react code, there is no request being sent to the server when loading this page at all. Only actions fired other than the regular ones are GET_ORGANIZATION_REQUEST and GET_ORGANIZATION_SUCCESS, none of the subscription actions are triggered.
cc @ui_ux team for further investigation.
So far I havenât been able to reproduce it in development setup when using appropriate Foreman and Katello versions. Itâs reproducible easily in production.
I meant rebuilding the webpack bundles. I checked out the git branches for appropriate versions and built the bundles with plugin:assets:precompile same way as packaging is supposed to do it.
The short story is that you can generate Provides: foreman-webpack(vendor) = c8538f32d3b65c1dc38f.js (or similar) on the foreman RPM side. On the plugin side you can automatically add a Require: foreman-webpack(vendor) = c8538f32d3b65c1dc38f.js. It would mean we can detect with repoclosure if there would be a build issue.
Weâll still need to manually rebuild if the bundle has changed, but because we have a semi static set of nodejs modules in koji I think that doesnât happen too often.
It would probably look something like this (100% untested):
Iâm talking with @evgeni about implementing this.
That would definitely be a big help. I still see it as only a first step. The goal should be to prevent the need for rebuilds completely. But if we can detect such situation in advance and reduce time spent on debugging and creating Redmine issues, it would be a big improvement for now.