Bug 749498 - API channel.software.getDetails documentation/behaviour mismatch
Summary: API channel.software.getDetails documentation/behaviour mismatch
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: API
Version: 541
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Lestach
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: 462714
TreeView+ depends on / blocked
 
Reported: 2011-10-27 09:25 UTC by Šimon Lukašík
Modified: 2015-05-29 20:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-29 20:10:03 UTC
Target Upstream Version:


Attachments (Terms of Use)

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:


Note You need to log in before you can comment on or make changes to this bug.