Bug ST00005: Album methods return before action is complete
luke_church
Registered Users Posts: 507 Major grins
You gotta love bugs like this one...
Bug Code: ST00005
Reported: 26-Feb-2006 14:01 UTC
Method: smugmug.albums.*
Discovered against: XML-RPC 1.1.0
Description:
Side-effects of album methods don't appear synchronously
Reproduction:
1. Make a call to albums.create or albums.delete
2. Immediately make a call to albums.get
The second call often doesn't reflect the changes made by the first call. However if a wait is added then the problem goes away. The minimum required wait on my laptop, which is currently on a fast internet connection is ~500ms.
Calls with wait lengths less than this will statistically fail.
SmugTools workaround: Until issue is resolved, 1000ms waits have been added to all methods.
Test case has been added to SmugTest: ST00005
Luke
Bug Code: ST00005
Reported: 26-Feb-2006 14:01 UTC
Method: smugmug.albums.*
Discovered against: XML-RPC 1.1.0
Description:
Side-effects of album methods don't appear synchronously
Reproduction:
1. Make a call to albums.create or albums.delete
2. Immediately make a call to albums.get
The second call often doesn't reflect the changes made by the first call. However if a wait is added then the problem goes away. The minimum required wait on my laptop, which is currently on a fast internet connection is ~500ms.
Calls with wait lengths less than this will statistically fail.
SmugTools workaround: Until issue is resolved, 1000ms waits have been added to all methods.
Test case has been added to SmugTest: ST00005
Luke
0