API 1.2 - smugmug.categories.get -- category IDs changed?
wiredprairie
Registered Users Posts: 12 Big grins
I'm the author of SnugUp and had reports that the application was crashing when loading categories. After a little bit of investigation, I found that the call to
My code unfortunately had assumed that the category ID would remain and when it matched IDs, now fails as the categories that once existed no longer do (or they have new IDs). I've got such a jumble of category junk in my SmugMug photo site after testing my application for these years, that I couldn't be certain if:
a) the IDs in fact have changed (bummer)
b) or some IDs are no longer being returned (bummer)
Given the crashes my application users are facing, it's difficult to tell (as the issue manifests both ways).
I couldn't find any documentation explaining the changes.
Anyone else notice this issue? Or any other comments that might help?
For now, I'm going to just patch my code and suggest users reselect an upload category in SnugUp.
sumgmug.categories.getno longer returns the same category IDs as it was previously.
My code unfortunately had assumed that the category ID would remain and when it matched IDs, now fails as the categories that once existed no longer do (or they have new IDs). I've got such a jumble of category junk in my SmugMug photo site after testing my application for these years, that I couldn't be certain if:
a) the IDs in fact have changed (bummer)
b) or some IDs are no longer being returned (bummer)
Given the crashes my application users are facing, it's difficult to tell (as the issue manifests both ways).
I couldn't find any documentation explaining the changes.
Anyone else notice this issue? Or any other comments that might help?
For now, I'm going to just patch my code and suggest users reselect an upload category in SnugUp.
0