Project

General

Profile

Actions

Bug #14240

closed

GET/POST/PUT /api/v2/auth_source_ldaps/ do not return 'server_type' attribute

Added by Shimon Shtein about 8 years ago. Updated over 5 years ago.

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

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1318325
Description of problem:
auth_source_ldaps have 'server_type' attribute, value of which is not returned by any of POST/GET/PUT request in sat6.2.

Version-Release number of selected component (if applicable):
Satellite 6.2.0 Compose 3

How reproducible:
100%

Steps to Reproduce:
1. Issue HTTP POST request to https://sat.example.com/api/v2/auth_source_ldaps with 'server_type' attribute set to some value (e.g. 'active_directory').
2. Capture the response. Examine the JSON payload and discover that the "server_type" attribute is not mentioned.
3. Issue HTTP GET and HTTP PUT requests to previously created auth_source_ldap. Check the "server_type" attribute presence.

Actual results:
'server_type' attribute is absent in GET/POST/PUT responses.

Expected results:
'server_type' attribute is present and has correct value.

Additional info:

Actions #1

Updated by The Foreman Bot about 8 years ago

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

Updated by Dominic Cleal about 8 years ago

  • Category set to API
Actions #3

Updated by Shimon Shtein about 8 years ago

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

Updated by Dominic Cleal about 8 years ago

  • translation missing: en.field_release set to 141
Actions

Also available in: Atom PDF