Project

General

Profile

Actions

Bug #22673

closed

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

Added by Jan Hutař about 6 years ago. Updated 9 months ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
Upgrades
Target version:
Difficulty:
Triaged:
Yes
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'
Actions #1

Updated by Anonymous about 6 years ago

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

Actions #2

Updated by Andrew Kofink about 6 years ago

  • translation missing: en.field_release set to 338
Actions #3

Updated by Jonathon Turel over 5 years ago

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

Updated by Jonathon Turel over 5 years ago

  • Target version changed from Katello 3.9.0 to Katello Backlog
Actions #5

Updated by Ewoud Kohl van Wijngaarden 9 months ago

  • Status changed from New to Closed

Given its age I think by now this is solved.

Actions

Also available in: Atom PDF