Project

General

Profile

Actions

Bug #23263

closed

Namespaced models associations are not displayed on audits page correctly

Added by Marek Hulán about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Audit Log
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When you have an audit of foreign key, e.g. "sync_plan_id", we try to constantize "SyncPlan" string. That fails since the model is namespaced, e.g. Katello::SyncPlan. Thanks to generic rescue in id_to_label method, that get's rescued to N/A. It's better to fallback to the plain value at least.

Actions #1

Updated by The Foreman Bot about 6 years ago

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

Updated by Marek Hulán about 6 years ago

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

Also available in: Atom PDF