Project

General

Profile

Bug #29311

Deprecation warnings are not being printed for Katello

Added by Chris Roberts 5 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
trivial
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

We are using the following warnings in the Katello controller code:

https://github.com/Katello/katello/blob/master/app/controllers/katello/api/v2/repositories_controller.rb#L222-L224

This commit looks like it silenced it:

https://github.com/theforeman/foreman/commit/0fd467c844fd200b5da72a0c670a5ac2bd4a61d6

This issue looks to log the warning to Rails for the API calls we care about and ignore the deprecated Rails calls we do not care about.

Associated revisions

Revision e8e637ba (diff)
Added by Chris Roberts 5 months ago

Fixes #29311 - Add Rails logging for API deprecation warnings.

History

#1 Updated by The Foreman Bot 5 months ago

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

#2 Updated by Chris Roberts 5 months ago

  • Bugzilla link set to 1812137

#3 Updated by Chris Roberts 5 months ago

  • Difficulty deleted (trivial)
  • Assignee deleted (Chris Roberts)
  • Status changed from Ready For Testing to New
  • Pull request deleted (https://github.com/theforeman/foreman/pull/7496)

#4 Updated by The Foreman Bot 5 months ago

  • Assignee set to Chris Roberts
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/7496 added

#5 Updated by The Foreman Bot 5 months ago

  • Fixed in Releases 2.1.0 added

#6 Updated by Chris Roberts 5 months ago

  • Status changed from Ready For Testing to Closed

#7 Updated by Chris Roberts 5 months ago

  • Triaged changed from No to Yes
  • Difficulty set to trivial
  • Target version set to 2.0.1

#8 Updated by Chris Roberts 5 months ago

  • Target version changed from 2.0.1 to 2.1.0

Also available in: Atom PDF