Task overriding in a sub class

In reply to theketi:
Your subclass class looks fine to me. The most likely cause is that you somehow constructed the base instead of the subclass.