Project

General

Profile

Actions

Bug #24585

closed

Behavior of attributed_changed? inside callbacks will change in next rails version

Added by Stephen Benjamin over 5 years ago. Updated over 5 years ago.

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

Description

Warning from the logs:

2018-08-10T16:47:56 [W|app|] DEPRECATION WARNING: The behavior of `attribute_changed?` inside of after callbacks will be changing in the next version of Rails. The new return value will reflect the behavior of calling the method after `save` returned (e.g. the opposite of what it returns now). To maintain the current behavior, use `saved_change_to_attribute?` instead. (called from recalculate_errata_status at /home/vagrant/git/katello/app/models/katello/concerns/setting_extensions.rb:14)

Actions #1

Updated by The Foreman Bot over 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7617 added
Actions #2

Updated by Stephen Benjamin over 5 years ago

  • Status changed from Ready For Testing to Closed
Actions #3

Updated by Jonathon Turel over 5 years ago

  • Target version set to Katello 3.9.0
  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF