Bug 749498

Summary: API channel.software.getDetails documentation/behaviour mismatch
Product: Red Hat Satellite 5 Reporter: Šimon Lukašík <slukasik>
Component: APIAssignee: Tomas Lestach <tlestach>
Status: CLOSED DEFERRED QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 541   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-29 20:10:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 462714    

Description Šimon Lukašík 2011-10-27 09:25:10 UTC
Description of problem:
According to the API documentation the API call:

    channel.software.getDetails

should return struct (hash) containing: 'yumrepo_last_sync' key with value
of type: dateTime.iso8601. 

In fact, when none yum repo is assigned to the channel API call results
in  yumrepo_last_sync=''. Thus the the value type is String, but not dateTime.
Which is contradiction with documentation.

Version-Release number of selected component (if applicable):
RHN Satellite 5.4.1+
spacewalk-java-1.2.39-104.el6sat.noarch

How reproducible:
deterministic

Steps to Reproduce:
1. channel.software.getDetails
2.
3.
  
Actual results:
yumrepo_last_sync value type does not corresponds with documentation

Expected results:
yumrepo_last_sync type corresponds with documentation

Additional info: