Project

General

Profile

Bug #22673

The PGconn, PGresult, and PGError constants are deprecated, and will be removed as of version 1.0.

Added by Jan Hutaƙ over 1 year ago. Updated 10 months ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Upgrades
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

After upgrade of Foreman nightly from foreman 0:1.18.0-0.develop.201802191629git3de2d5a.el7 to 0:1.18.0-0.develop.201802230850gitbdcdb09.el7, I have ran `foreman-installer --upgrade` and I see lots of these warnings (1 per each step (?)):

/opt/rh/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.4/lib/active_support/message_encryptor.rb:22: warning: previous definition of DEFAULT_CIPHER was here
The PGconn, PGresult, and PGError constants are deprecated, and will be
removed as of version 1.0.

You should use PG::Connection, PG::Result, and PG::Error instead, respectively.

Called from /opt/theforeman/tfm/root/usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'

History

#1 Updated by Michael Moll over 1 year ago

I think if sequel and its dependencies gets updated to 5.x in the RPM repos, that warnings will go away.

#2 Updated by Andrew Kofink over 1 year ago

  • Legacy Backlogs Release (now unused) set to 338

#3 Updated by Jonathon Turel 12 months ago

  • Triaged set to Yes
  • Target version changed from Katello 3.7.0 to Katello 3.9.0

#4 Updated by Jonathon Turel 10 months ago

  • Target version changed from Katello 3.9.0 to Katello Backlog

Also available in: Atom PDF