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?
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?
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.
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!
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
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
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
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
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!
is working on a reply...