Installing same package (same version or newer) creates duplicate installed package node
I have created a simple package in the developer section, and to test my package I installed it in the same Umbraco instance. When I update the package (include a new document type), publish it, and reinstall, I end up with the same package (same name at least) installed twice. Even when I update the version number.
This is common use in Umbraco. There is no way currently to upgrade packages (might change in the future) so you can only install new packages. Don't try to remove older versions of the package because they will also throw away things from you newer version if the file name is still the same. For example a dll file. I know this is kind of strange, but that's the way it works now.
I was afraid this was the situation, it's a pretty strange situation, especially if you are revving a package quite often. I guess as a developer you'd have to clean up the installed packages config file.
Has this problem been resolved? I am using Umbraco 7.2 and sharing of packages among developers is problematic. Each time, new content items are being created with new Ids. Any way of overwriting older versions of contents?
Installing same package (same version or newer) creates duplicate installed package node
I have created a simple package in the developer section, and to test my package I installed it in the same Umbraco instance. When I update the package (include a new document type), publish it, and reinstall, I end up with the same package (same name at least) installed twice. Even when I update the version number.
Should I report this as a bug?
I use Umbraco 4.7.1.1
This is common use in Umbraco. There is no way currently to upgrade packages (might change in the future) so you can only install new packages. Don't try to remove older versions of the package because they will also throw away things from you newer version if the file name is still the same. For example a dll file. I know this is kind of strange, but that's the way it works now.
Jeroen
I was afraid this was the situation, it's a pretty strange situation, especially if you are revving a package quite often. I guess as a developer you'd have to clean up the installed packages config file.
Thanks for confirming this Jeroen!
I'd say still raise it as a bug on CodePlex, then it can be reviewed/assigned (and put against a target milestone on the roadmap).
You're right about the "installedPackages.config", the main issue here is that it creates addition (duplicate) entries, which can be manually edited.
Cheers, Lee.
Done: http://umbraco.codeplex.com/workitem/30894
Has this problem been resolved? I am using Umbraco 7.2 and sharing of packages among developers is problematic. Each time, new content items are being created with new Ids. Any way of overwriting older versions of contents?
Thanks.
is working on a reply...