Removal is delayed
Status: Beta
Brought to you by:
worden
Automatic file removal from PD does not happen (ever, I think) when you remove a file from the wiki page and save. I think it happens on the save after that.
This seems like a minor issue; one aspect is that it's confusing to get the report that something was removed from the PD when you know you didn't remove anything from the page on this edit.
See, for example http://lalashan.mcmaster.ca/theobio/projects/index.php/Remove. I have saved and refreshed since removing b.txt, but it still appears on the MP (at least right now).
Anonymous
It happens the next time the project syncs its source files to the
working directory, because that's when it finds out whether any are
missing. This is because it seems that to do it sooner would require an
extra operation of loading all the relevant pages from the database to
find out whether the source files are where the project description says
they are. But there's probably a better way to do it.
Also, removing file from PD should remove it from the WD, but does it?
Plus, when you remove a file from your page while previewing I'm pretty sure it doesn't remove from PD while previewing, it leaves it until the page is saved. Which means it doesn't get removed from the WD while previewing, and that can cause problems for the workflow in the preview session.