Actions
Bug #38793
closedFix CR VM json partial rendering
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Compute resources
Target version:
-
Difficulty:
easy
Triaged:
No
Pull request:
Description
The old code expected a template file to be stored as `app/views/compute_resources_vms/index/_EXAMPLE.json.erb`. However, in recent versions of rails this leads to a "missing partials" error [1]. This breaks Foreman plugins that rely on this functionality.
The reason: rendering templates with `.` in the name is deprecated, see https://github.com/rails/rails/pull/39164.
[1] https://stackoverflow.com/questions/71069354/rails-7-missing-partial
Updated by The Foreman Bot 4 months ago
- Status changed from New to Ready For Testing
Updated by Oleh Fedorenko 4 months ago
- Related to Tracker #34647: Rails 7.0 Tracker added
Updated by Frank Wall 4 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|2fb0705ee4af1cd37ba5666ab829b5e7ceca1dc5.
Actions