Project

General

Profile

Actions

Refactor #12067

closed

Delegated methods need to be public, not protected

Added by Daniel Lobato Garcia about 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Rails
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

generate_pxe_template and require_ip_validation? are delegated to primary interface on Host::Managed. However, these methods are protected. On Rails 4, protected methods cannot be called through a delegation, these methods have to be public.

Actions #1

Updated by The Foreman Bot about 9 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2781 added
  • Pull request deleted ()
Actions #2

Updated by Dominic Cleal about 9 years ago

  • Tracker changed from Bug to Refactor
  • Assignee set to Daniel Lobato Garcia
  • Translation missing: en.field_release set to 63
Actions #3

Updated by Daniel Lobato Garcia about 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF