Bugs
Despite all my previous knowledge and experience, I've still been developing blog4php without unit testing. A poor excuses would include "but you can't unit test PHP", which is rubbish, as this, this, this, and this all show.
This is all a long way of saying that the previous release of blog4php was a little buggy. The ones that I've spotted are:
- Re-editing an item will cause "p" tags to be scattered through it (Fixed in my CVS version. The shame of this being there!)
- Head sections of HTML documents get included
- Permalinks don't link
- Date based searches fail.
I suspect that the last two are to do with some minor editing in the Blog.inc file ("createFilter", to be exact) and I've got to work on the regex that removes the contents of the "head" tag from raw html. Time to start writing unit tests.
This is going to take a while, because I'm off to Finland tomorrow until Tuesday. If you want to download the latest source and debug for me, that's great! :) FWIW, I'm thinking of moving to the GPL for this project, so be aware that that's the license I'll be working with.
Posted in: /tech/php/blog4php
You may comment...