I created a package with different document types. Some of the document types have a Master Content Type which are also included in the package. The problem is when installing the package some of the document types don’t have their master because it’s installed at a later time (in alphabetical sequence).In the images below is an example:
The document types on the site where the package is created:
As you can see only pagina_Standaard has it’s master because it’s later in alphabetical sequence. Now I can manually adjust the package.xml file in which the sequence is stored, but I don’t want to do this every time the package is updated.
This is not the only bug I’ve encountered. When I want to uninstall the package I get the following error: “Can't delete a Document Type used as a Master Content Type. Please remove all references first!” So if I want to uninstall the files I have the opposite problem. The Master Content Type is deleted first while it still has children. I’ve created a workitem for both bugs: http://umbraco.codeplex.com/WorkItem/View.aspx?WorkItemId=24438
In order to solve this bug the install and uninstall sequence should be different.
Has the following workitem been solved already? http://umbraco.codeplex.com/WorkItem/View.aspx?WorkItemId=23510 I still have this problem with all the packages I create. Every Nvarchar field is saved as Ntext and after each package I install I need to manually adjust all the datatypes to Nvarchar.
There is another 'bug' I found. After a package is installed the sort order of the tabs in document types is always 1,2,3,4 and not the sort order the original document typehad. In the original package the sort order of my document type (a master content type) tabs was 0,1,2,4 and in the child document type I had a tab with sort order 3. This way the tab was displayed between 2 and 4 of the master document type. This is currently impossible the way the sort order is created when a package is installed. I also created a workitem for this: http://umbraco.codeplex.com/WorkItem/View.aspx?WorkItemId=24439
Master Content Type in package bug
Hello,
I created a package with different document types. Some of the document types have a Master Content Type which are also included in the package. The problem is when installing the package some of the document types don’t have their master because it’s installed at a later time (in alphabetical sequence). In the images below is an example:
The document types on the site where the package is created:
http://img41.imageshack.us/img41/4804/goodtree.jpg
The document types on the site where the package is installed:
http://img41.imageshack.us/img41/8245/errortree.jpg
As you can see only pagina_Standaard has it’s master because it’s later in alphabetical sequence. Now I can manually adjust the package.xml file in which the sequence is stored, but I don’t want to do this every time the package is updated.
This is not the only bug I’ve encountered. When I want to uninstall the package I get the following error: “Can't delete a Document Type used as a Master Content Type. Please remove all references first!” So if I want to uninstall the files I have the opposite problem. The Master Content Type is deleted first while it still has children. I’ve created a workitem for both bugs: http://umbraco.codeplex.com/WorkItem/View.aspx?WorkItemId=24438
In order to solve this bug the install and uninstall sequence should be different.
Has the following workitem been solved already? http://umbraco.codeplex.com/WorkItem/View.aspx?WorkItemId=23510 I still have this problem with all the packages I create. Every Nvarchar field is saved as Ntext and after each package I install I need to manually adjust all the datatypes to Nvarchar.
I’m running Umbraco 4.0.2.1. on asp.net 3.5 (with the Web.config file to use with .NET 3.5+).
There is another 'bug' I found. After a package is installed the sort order of the tabs in document types is always 1,2,3,4 and not the sort order the original document typehad. In the original package the sort order of my document type (a master content type) tabs was 0,1,2,4 and in the child document type I had a tab with sort order 3. This way the tab was displayed between 2 and 4 of the master document type. This is currently impossible the way the sort order is created when a package is installed. I also created a workitem for this: http://umbraco.codeplex.com/WorkItem/View.aspx?WorkItemId=24439
Can this be fixed in the next version?
Does anybody know if these bugs will be solved in the next release of Umbraco?
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.