Options

Bug: smugmug.categories.rename fails

luke_churchluke_church Registered Users Posts: 507 Major grins
Description:

1. smugmug.categories.rename does not rename categories it is called on. It returns an empty string, not SUCCESS and name is not changed.

2. Calls to smugmug.categories.rename do not emit fail codes if illegal operations are requested. For example renaming a standard category. Anonymous and cross-ID testing has not been tested as it seems likely to be similar to delete.

The same blank string as usual is returned:

[php]

<?xml version="1.0"?>
<methodCall>
<methodName>smugmug.categories.rename</methodName>
<params>
<param>
<value>
<string>cb48c069e01fd0d71d7840d27577e1e1</string>
</value>
</param>
<param>
<value>
<i4>38303</i4>
</value>
</param>
<param>
<value>
<string>NewName</string>
</value>
</param>
</params>
</methodCall>

Header

<methodResponse>
<params>
<param>
<value>
<string/>
</value>
</param>
</params>
</methodResponse>

[/php]
Sign In or Register to comment.