2
votes

I'm hoping someone can shed some light as to why this is happening. I've just started creating my own packages in Umbraco and am having issues with something that should be quite straight forward.

I've created a fairly simple package consisting of a Content page and child pages, doc types, templates, some css and some scripts. I install the package on another Umbraco site and all seems fine. The problem is when I come to uninstall the package, it is trying to remove its parents Document Types, which it cannot do, and it's shouldn't do as these were not in the original package I created.

What am I missing here people?

Thanks in advance!

1

1 Answers

1
votes

The package manager will attempt to package up all required dependencies.

When you created your package did you select doctypes that were nested under the parent doctype? If so this is probably why as the parent doctype then becomes a dependency and most likely was actually included in your package. It should be pretty easy to see from the uninstallation page what it is trying to remove and if that doctype is listed it was in your package.