by jan.vlcinsky » Fri May 14, 2010 12:57 pm
Hi Rajkumari
Thank you for quick solution.
Now I am happy as I can list versions of my file.
However, I found, that if I have page size in Preferences set to 1000 or any higher number (tested 1001 and 1500), it does not reach further pages (the button next xxxx does not appear).
If I set it to 999 or lower number (I tested also 500) it works properly.
I noticed, that when having page size set to 1000 or more, last item on first page shows in field versionId value null and points to the very first version of the file. For smaller page size this does not happen.
If you do the test, be sure you Switch To Normal List after each reset of page size (otherwise the button will show the new number but the listing will work with old page size or old position to start with)
Hint: My feeling is, AWS API might have a limit of versions in a list to be retrieved set to 1000 and if it reaches that one, it ends up with the very first version. Or there is simply some sort of bug in AWS S3 API.
If this would be true, your fetching would have to read listing in smaller chunks.
Anyway, now I have working solution (paging 999 versions) and this helps me a lot.
Thanks for that
Jan