Bugfixing on the backups page
Posted by mholmes on 03 Nov 2010 in Activity log
The backups page has never quite worked since we moved the project to Pear, and I've never been able to figure out why, but I finally worked through the issues in the flowscript that handles the backups, and discovered the problems were caused by paths, relative and absolute. Within any Cocoon pipeline, and it appears especially within flowscripts, the current context of execution is very difficult to figure out; what comes back from cocoon:/ in one script can be completely different from what comes back in another. In this case, three of the pipelines (the XHTML and the two NLMs) needed one path to call the backupLink.xq script, and the other two (TEI and PDF) needed another. I don't really know why, but it's all working now, at least.