Indeed, I don't believe you want to do what you're doing. Do NOT override 
getDefaultUpdateTasks unless you want to modify the behavior of the version 
handler for your specific module. (i.e apply a task for every update.)

If you extend DefaultModuleVersionHandler, you are essentially saying "I want 
to execute the default install tasks (bootstrap, extract files etc)". In that 
case, you'll want to return those tasks of yours by implementing 
get[u]Extra[/u]InstallTasks(). (and don't try to add to the list returned by 
super.getExtraInstallTasks(), it's a read-only empty list)

If you also want to manage the upgrade (i.e from 1.0 to 1.1), you also need to 
register your "delta", by using the register() method; call it in the 
constructor of your version handler class. Look at 
info.magnolia.templating.module.setup.TemplatingModuleVersionHandler for 
example.

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=acaa560a-9c7c-41de-90fd-e8d9496de2e5


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to