Is anyone aware of a reliable way of checking that all content for a particular site is downloaded? I have an open baseline that runs on systems as soon as they subscribe to a site, but it reads fixlets from the site in the action script of one of the components. If the system has not finished downloading the site completely, the action script will get messed up because not all the fixlets are loaded.
Has anyone seen this issue before or dealt with it? I have tried a relevance that checks to see how many .fxf files are in the site folder, but that has not gotten the desired effect.
A client should not start an action until after the download. At least I’ve never seen a client get an action at the beginning of a subscription to a site and leave everything else behind. I think (and I could be wrong) it should do a full evaluation before taking any action.
Subscribing to a site and having fixlet contents aren’t really equivalent.
I can subscribe a Windows machine to a Mac only site and it will be “subscribed” but due to the masthead it will never gather any fixlets.
Once a gather occurs of a site it will have the complete site on that instant. The gather will enforce the entire site being present at that point.
Actions can become relevant and potentially start processing before the entire site is gathered if someone took an action thats in the master actionsite that depends on the site existing. So while this could happen it’s not very likely.
So for this purpose would you suggest I check the gather time of the site and instead of the subscribe time? Would the gather time be empty until the site first gathers?
What is going on is that I have a site X that has a constantly open baseline action in it. When a system becomes relevant for site X it also subsequently becomes relevant for the open action (either simultaneously or nearly so). What I assume happens is that the action runs before the site is completely gathered. This seems to play havoc with an actionscript inside the baseline that references content from other fixlets in site X.
Yes that technically could be possible that the action triggers before the gather does. We do try to avoid that of course but if the relay that the endpoint is pointing to doesn’t have the site there will be a delay.
Something you could do is something like:
( last gather time of it > subscribe time of it ) of site whose (name of it ="Site Name")