Bug: smugmug.images.changeSettings fails - Extra Information
luke_church
Registered Users Posts: 507 Major grins
Description. Bug describe in previous thread:
http://www.dgrin.com/showthread.php?t=18174
Behaviour against XML-RPC 1.1.0
An empty string is returned from a changeSettings call and the settings aren't changed.
Update:
The behaviour against XML-RPC 1.1.1 is different. Instead it returns a Fault Code 5, System Error, but still doesn't change the data:
XML
[php]
<?xml version="1.0"?>
<methodCall>
<methodName>smugmug.images.changeSettings</methodName>
<params>
<param>
<value>
<string>..</string>
</value>
</param>
<param>
<value>
<i4>35747294</i4>
</value>
</param>
<param>
<value>
<struct>
<member>
<name>Caption</name>
<value>
<string>Caption, Caption, Caption</string>
</value>
</member>
<member>
<name>AlbumID</name>
<value>
<i4>803520</i4>
</value>
</member>
<member>
<name>Keywords</name>
<value>
<string />
</value>
</member>
</struct>
</value>
</param>
</params>
</methodCall>
Header
<?xml version="1.0" encoding="iso-8859-1"?>
<methodResponse>
<fault>
<value>
<struct>
<member>
<name>faultCode</name>
<value>
<int>5</int>
</value>
</member>
<member>
<name>faultString</name>
<value>
<string>system error</string>
</value>
</member>
</struct>
</value>
</fault>
</methodResponse>
[/php]
Hope this helps,
Luke
http://www.dgrin.com/showthread.php?t=18174
Behaviour against XML-RPC 1.1.0
An empty string is returned from a changeSettings call and the settings aren't changed.
Update:
The behaviour against XML-RPC 1.1.1 is different. Instead it returns a Fault Code 5, System Error, but still doesn't change the data:
XML
[php]
<?xml version="1.0"?>
<methodCall>
<methodName>smugmug.images.changeSettings</methodName>
<params>
<param>
<value>
<string>..</string>
</value>
</param>
<param>
<value>
<i4>35747294</i4>
</value>
</param>
<param>
<value>
<struct>
<member>
<name>Caption</name>
<value>
<string>Caption, Caption, Caption</string>
</value>
</member>
<member>
<name>AlbumID</name>
<value>
<i4>803520</i4>
</value>
</member>
<member>
<name>Keywords</name>
<value>
<string />
</value>
</member>
</struct>
</value>
</param>
</params>
</methodCall>
Header
<?xml version="1.0" encoding="iso-8859-1"?>
<methodResponse>
<fault>
<value>
<struct>
<member>
<name>faultCode</name>
<value>
<int>5</int>
</value>
</member>
<member>
<name>faultString</name>
<value>
<string>system error</string>
</value>
</member>
</struct>
</value>
</fault>
</methodResponse>
[/php]
Hope this helps,
Luke
0
Comments