I've just checked in some changes/improvements to the session bundle  
handling code. To sum up what has changed:

1) The SDS is now verifying the MD5 sum of uploaded bundles and  
returning an error if it doesn't match the MD5 sum generated and  
supplied by the BundlePoster. Note that the SDS only checks for a  
match if the BundlePoster supplies an MD5 to check against, so we  
don't break the old clients.

2) Users are now given the option to resubmit a bundle before it gets  
saved to disk and the client exits. They can try to submit as many  
times as they like (it's a yes/no dialog -- as long as they hit yes,  
it'll cycle. When they hit no, the old dialog about saving the bundle  
to disk shows up.).

3) There's a progress dialog that shows while the bundle is getting  
saved.

4) Bundles that previously had errors and were saved to disk will now  
be uploaded before the session starts up. This will happen in the  
background for now, with no UI indication that it is happening. On  
success, the bundle file is deleted to avoid duplication in the sds.  
If a bundle has an error again and can't be uploaded, the bundle file  
stays and the error is noted in the console log. This will hopefully  
help avoid needing to manually upload bundle files.

To get the changes, just update sail-core and sail-data-emf.

-- Aaron


--
Aaron Unger
The Concord Consortium




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SAIL-Dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/SAIL-Dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to