Description of problem: 1. Sequence of arguments in api doc are wrong. Parameters: * string sessionKey * int serverId * boolean isDir o True - if the path is a directory o False - if the path is a file * string path - the configuration file/directory path Actual api seems to accept String path before boolean isDir 2. api is accepting file permission as a string but returning it as an Integer. This is not too much of a problem, but something to consider.
master git commit: db61151ee7eabbf4d70c3ad0f5a8739a02fd7c87 vader git commit: 8a0e54c0f33cbb6818f61c36c0df1d8caf66c462 Fixed #1. Fixed #2 by deprecating the 'int permissions' and adding 'string permissions_mode' The change for #2 was to the serializer. Since this serializer was used by multiple APIs, they will all now return this new parameter. The APIs impacted are: - system.config.createOrUpdatePath - system.config.lookupFileInfo - configchannel.createOrUpdatePath - configchannel.lookupFileInfo - system.provisioning.snapshot.listSnapshotConfigFiles These APIs were all marked as updated since API version 10.2.
Verified and updated automation tests.
Parameters: * string sessionKey * int serverId * string path - the configuration file/directory path * boolean isDir o True - if the path is a directory o False - if the path is a file * struct - path info .... verified in stage on xen5
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2009-1434.html