Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Sébastien Richer 194 posts 430 karma points
    Jan 04, 2013 @ 21:35
    Sébastien Richer
    0

    Uninstalling a package - Won't delete folders

    Hello,

    I'm creating this package that has a folder and a sub-folder at the root of the site. They get created correctly when my package installs, but when I uninstall it, the folders remain there, is there a proper way to remove them? Through actions? Should'nt it be automatic?

    Thanks!

    Seb

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Jan 05, 2013 @ 12:59
    Jan Skovgaard
    0

    Hi Sébastien

    What package is it that you're installing?

    And is it the folders on disk that does not get removed or does the packages create folder in the node tree in the backoffice?

    /Jan

  • Sébastien Richer 194 posts 430 karma points
    Jan 05, 2013 @ 15:52
    Sébastien Richer
    0

    Hi Jan,

    I'm actually creating my own package out of a module I created for a project, I want to upload it to Our and open source it.

    So the folders are created when I copy over some files through the package installer. Real file system folders that I can see in my local dev environnement file system. These do not get removed when the uninstall of my package occurs. The files inside are correctly removed.

    Is there something specific in the actions I have to setup?

    Thanks for the help!

    Seb

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Jan 05, 2013 @ 16:35
    Jan Skovgaard
    0

    Hi Sebastien

    Could you perhaps post your package actions? Maybe someone knows how to make sure the folders are deleted. Don't know if you may need to make a weird workaround in order to make it work properly perhaps.

    /Jan

  • Sébastien Richer 194 posts 430 karma points
    Jan 05, 2013 @ 16:43
    Sébastien Richer
    0

    Well worst case scenario, I have code running on uninstall, I can remove then manually. I'll probably pe posting it by the end of next week. Thansk for the help!

Please Sign in or register to post replies

Write your reply to:

Draft