Project

General

Profile

Actions

Bug #17998

closed

Only print LDAP bind status if available

Added by Daniel Lobato Garcia almost 8 years ago. Updated over 6 years ago.

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

Description

The ldap logger tries to call payload[:bind].status but it might not be defined if the bind goes wrong.
This causes a 500 instead of logging the status of the bind. We should display payload[:bind] and only .status if it's available.

Actions #1

Updated by The Foreman Bot almost 8 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Daniel Lobato Garcia
  • Pull request https://github.com/theforeman/foreman/pull/4167 added
Actions #2

Updated by Anonymous almost 8 years ago

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

Updated by Dominic Cleal almost 8 years ago

  • Translation missing: en.field_release set to 210
Actions #4

Updated by Daniel Lobato Garcia almost 8 years ago

  • Target version set to 169
Actions #5

Updated by Brad Buckingham almost 8 years ago

  • Target version deleted (169)
Actions #6

Updated by Daniel Lobato Garcia almost 8 years ago

  • Target version set to 1.11.0
Actions

Also available in: Atom PDF