[ 
http://jira.magnolia.info/browse/MAGNOLIA-769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17979#action_17979
 ] 

Gregory Joseph commented on MAGNOLIA-769:
-----------------------------------------

Using the updatemechanism, here are some ideas to implement this:
* a module's version handler provides "uninstall task" - which should revert to 
state prior to installation AND be "safe": check if value was modified etc 
(especially if this is about a node or property outside of the module's own 
node)
* these uninstall tasks are serialized (for instance under 
{{config:/server/install}}
* a modules overview page could provide an "uninstall" button and/or absence of 
the module's jar (i.e. of its module descriptor) could trigger the uninstall

This would also give a possibility to replace the {{magnolia.bootstrap.force}} 
users of 3.0 have been used too, by providing a way to completely reinstall a 
module.

> Uninstall of modules
> --------------------
>
>                 Key: MAGNOLIA-769
>                 URL: http://jira.magnolia.info/browse/MAGNOLIA-769
>             Project: Magnolia
>          Issue Type: Sub-task
>          Components: core, updatemechanism
>    Affects Versions: 3.0 Beta 1
>            Reporter: Philipp Bracher
>            Assignee: Philipp Bracher
>             Fix For: Orange
>
>
> on the modules overview page you can click uninstall:
> - check dependencies
> - delete modules node in the config
> - delete all nodes created by the additional bootsrap files
> - delete the files /templates/module, docroot/module and admintemplates/module
> - delete the additional files defined in the descriptor
> - remove servlets
> - remove repositories
> - finaly delete the jar (if it is exploded in the classes dir delete the 
> descriptor only)
> - set the restartNeeded flag (always)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------

Reply via email to