Project

General

Profile

Actions

Bug #38793

closed

Fix CR VM json partial rendering

Added by Frank Wall 4 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Compute resources
Target version:
-
Difficulty:
easy
Triaged:
No
Fixed in Releases:
Found in Releases:

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


Related issues 1 (1 open0 closed)

Related to Foreman - Tracker #34647: Rails 7.0 TrackerNewEwoud Kohl van Wijngaarden

Actions
Actions #1

Updated by The Foreman Bot 4 months ago

  • Status changed from New to Ready For Testing
Actions #2

Updated by The Foreman Bot 4 months ago

  • Fixed in Releases 3.17.0 added
Actions #3

Updated by Oleh Fedorenko 4 months ago

Actions #4

Updated by Frank Wall 4 months ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF