[RESOLVED] Bug ST00007: subcategories.getAll breaks when there are no subcategories
luke_church
Registered Users Posts: 507 Major grins
Mod Edit: Logged as SmugBug
Bug Code: ST00007
Reported: 14-Apr-2006
Method: smugmug.subcategories.getAll
Discovered against: XML-RPC 1.1.0
Description:
When subcategories.getAll is called on an account that doesn't have any, it returns an empty string.
Spaces added to prevent vB mangling the XML.
Bug Code: ST00007
Reported: 14-Apr-2006
Method: smugmug.subcategories.getAll
Discovered against: XML-RPC 1.1.0
Description:
When subcategories.getAll is called on an account that doesn't have any, it returns an empty string.
Spaces added to prevent vB mangling the XML.
< ?xml version="1.0"?> < methodCall> < methodName>smugmug.subcategories.getAll< /methodName> < params> < param> < value> < string>< /string> < /value> < /param> < /params> < /methodCall>HTTP/1.1 200 OK Date: Fri, 14 Apr 2006 02:04:11 GMT Server: Apache X-Powered-By: smugmug/1.2.0 Cache-Control: private, max-age=1, must-revalidate Pragma: Set-Cookie: SMSESS=; path=/; domain=.smugmug.com ETag: sm--sm Content-Length: 151 Connection: close Content-Type: text/xml;charset=iso-8859-1 < ?xml version="1.0" encoding="iso-8859-1"?> < methodResponse> < params> < param> < value> < string/> < /value> < /param> < /params> < /methodResponse>
0
Comments
Will release with 0.2.1.0 and later.
SmugSoftware: www.smugtools.com
SmugMug API Developer
My Photos