Project

General

Profile

Bug #21213

not view certs in puppetca on smart proxy

Added by anton anton 10 months ago. Updated 10 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
PuppetCA
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Oops, we're sorry but something went wrong Object must be a Date, DateTime or Time object. nil given.

Full trace

I18n::ArgumentError
Object must be a Date, DateTime or Time object. nil given.
/opt/rh/sclo-ror42/root/usr/share/gems/gems/i18n-0.7.0/lib/i18n/backend/base.rb:53:in `localize'
/opt/theforeman/tfm/root/usr/share/gems/gems/gettext_i18n_rails-1.2.1/lib/gettext_i18n_rails/backend.rb:30:in `method_missing'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/i18n-0.7.0/lib/i18n.rb:247:in `localize'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/actionview-4.2.5.1/lib/action_view/helpers/translation_helper.rb:88:in `localize'
/usr/share/foreman/app/helpers/application_helper.rb:71:in `date_time_absolute_value'
/usr/share/foreman/app/helpers/application_helper.rb:65:in `date_time_relative'
/usr/share/foreman/app/views/puppetca/_list.html.erb:20:in `block in _3013bca85535b6399b78f7ef086ac224'
/usr/share/foreman/app/views/puppetca/_list.html.erb:16:in `each'
/usr/share/foreman/app/views/puppetca/_list.html.erb:16:in `_3013bca85535b6399b78f7ef086ac224'

(shortened)


Related issues

Related to Foreman - Feature #19047: Unify the way how we display datesClosed2017-03-28

Associated revisions

Revision 41df65ee (diff)
Added by Marek Hulán 9 months ago

Fixes #21213 - don't fail on nil time stamps

Revision 2104bc38 (diff)
Added by Marek Hulán 9 months ago

Fixes #21213 - don't fail on nil time stamps

History

#1 Updated by Al Man 10 months ago

Hello.
Do you see that trace in web-intereface?
Did you try sign node manually and then check it in web-interface?

#2 Updated by Marek Hulán 9 months ago

  • Assignee set to Marek Hulán
  • Priority changed from High to Normal
  • Target version set to 1.16.0-RC2
  • Legacy Backlogs Release (now unused) deleted (240)

This happens in case certificate does not have any valid from date.

#3 Updated by Marek Hulán 9 months ago

#4 Updated by Marek Hulán 9 months ago

  • Description updated (diff)

#5 Updated by The Foreman Bot 9 months ago

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

#6 Updated by Marek Hulán 9 months ago

  • Legacy Backlogs Release (now unused) set to 240
  • Difficulty deleted (hard)

re-setting 1.16 release as it is a regression in 1.16

#7 Updated by Anonymous 9 months ago

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

Also available in: Atom PDF