Project

General

Profile

Bug #9025

Magic name methods don't work with plugins

Added by Stephen Benjamin over 4 years ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Category:
Plugins-Engines
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

has_many_common magic name(s) methods don't work with plugins, as they try to create the association class instead of reflecting on the association.

Associated revisions

Revision 1cf860b7 (diff)
Added by Stephen Benjamin over 4 years ago

fixes #9025 - reflect on association for _name(s) methods

Revision 1b7ff312 (diff)
Added by Stephen Benjamin over 4 years ago

fixes #9025 - reflect on association for _name(s) methods

(cherry picked from commit 1cf860b74143da2e0f85b89913cac4cb84e20d4e)

Conflicts:
test/lib/has_many_common_test.rb

History

#1 Updated by The Foreman Bot over 4 years ago

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

#2 Updated by Anonymous over 4 years ago

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

#3 Updated by Dominic Cleal over 4 years ago

  • Assignee set to Stephen Benjamin
  • Legacy Backlogs Release (now unused) set to 30

Also available in: Atom PDF