-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fixes #24149 - use new template renderer #7496
Conversation
Issues: #24149 |
I still need to test this, but the update seems sane 👍 |
9445f61
to
e40a2d7
Compare
Updated to match the latest changes in the core PR. |
e40a2d7
to
b79aaac
Compare
@timogoebel running into the issue I mentioned on the mailing list (this was before I saw this PR), the subscriptions page isn't loading. |
I can't tell how this could be related. The commit you mention just changed stuff in the template rendering. Can you look into this a bit more? My gut feeling is that |
This only seems to be an issue on all our react pages in Katello (RH Repos and Subscriptions). |
I'm really not sure where to start looking, maybe someone more familiar with the templating change can weigh in. Git bisect narrows it down to the template rendering change so something must have changed that we are missing. @ares @kamils-iRonin @tbrisker @tstrachota @lzap Do you have any ideas on the error we are seeing on the Katello React pages? |
IDK if this is helpful, but I checked in the console with Katello loaded, and the following works fine: > include Rails.application.routes.url_helpers
> notification_recipients_path
=> "/notification_recipients" |
Can you try changing this to something like:
and defining an empty view for the index action? |
|
@tbrisker: I had similar thoughts. I guess the methods need to be available in the helpers and not in the controller, correct? |
Yes, it appears adding |
A fix for the url issue is in #7589. |
[test katello] |
@timogoebel works well for me! I've opened an issue to add tests to all the untested extensions here: https://projects.theforeman.org/issues/24549 and will be opening a PR to add those, but thanks for your updates here. |
This needs theforeman/foreman#5683 and theforeman/foreman_remote_execution#363.
I don't have a katello development environment at hand and don't know the codebase well enough. This is a shot in the dark. Please help me with testing this.