Archived project file not always working
Status: Beta
Brought to you by:
worden
I often seem to find my APFs not being archived. It seems this problem can be created repeatably by following my normal APF pattern. Please see http://lalashan.mcmaster.ca/theobio/projects/index.php/APF.
I think that if I ignore the problem and work on a project, the files eventually do get archived, but I'm not sure.
Not sure if this is related to the solution to item 3182910.
Anonymous
I think I may have fixed this. Please reopen this bug if these problems recur.
fixed in r812, that is.
But not working with merge-session operation.
I'm a little puzzled by how to implement this one. The a-p-f program flow is like this: we (WW) send a request to PE in the form of an operation name coupled with various data about the operation. If we include a list of archived file hashes, indexed by project URI, PE will check all those files after the operation and return any that don't match the hash values. This might be hard to do in the merge-session case, because WW doesn't necessarily know which projects are involved in a given background or preview session, it just asks PE to take care of the session and merge whichever projects are relevant. Without that information we can't send the hash values.
But we do have access to that information, so I could probably work out how to have it available to WW at the time it makes the request - I would have to do it one way for background jobs and another way for preview jobs. That would be straightforward.
Or I could send the merge-session request without the data, and have PE return the list of projects in its response, and then follow with a second request for the a-p-f contents.
The first way is probably better, so I should take a brief look to see how hard it would be.