diff --git a/.hgtags b/.hgtags index e6189102f5..7c3e21acf3 100644 --- a/.hgtags +++ b/.hgtags @@ -25,3 +25,4 @@ f6da531fbb4c251ff61d314e2a7effb13c71e74a Release-4.10.0 ff3bb24ea0c915878396a6ae27f1ff164e8ac150 Release-6.0.0-beta 56015ac26f5ab60e3c61b1d09075297b660afa07 Release-6.0.0-RC 1719fbd857f28b376639ac2aa0abada0ef2e7560 Release-6.0.0 +e02f5aebb87e3f07d27376647756caa9762931d8 Release-4.11.4 diff --git a/src/Umbraco.Web/Umbraco.Web.csproj b/src/Umbraco.Web/Umbraco.Web.csproj index 5edeb5f919..fee460bb76 100644 --- a/src/Umbraco.Web/Umbraco.Web.csproj +++ b/src/Umbraco.Web/Umbraco.Web.csproj @@ -124,17 +124,14 @@ True ..\packages\CodeSharp.Package.AspNetWebPage.1.0\lib\net40\NuGet.Core.dll - - False - ..\packages\uGoLive.1.3.0\lib\Our.Umbraco.uGoLive.dll + + ..\packages\uGoLive.1.4.0\lib\Our.Umbraco.uGoLive.dll - - False - ..\packages\uGoLive.1.3.0\lib\Our.Umbraco.uGoLive.47x.dll + + ..\packages\uGoLive.1.4.0\lib\Our.Umbraco.uGoLive.47x.dll - - False - ..\packages\uGoLive.1.3.0\lib\Our.Umbraco.uGoLive.Checks.dll + + ..\packages\uGoLive.1.4.0\lib\Our.Umbraco.uGoLive.Checks.dll System diff --git a/src/umbraco.cms/businesslogic/web/Document.cs b/src/umbraco.cms/businesslogic/web/Document.cs index c80264b0df..eee60b3a1a 100644 --- a/src/umbraco.cms/businesslogic/web/Document.cs +++ b/src/umbraco.cms/businesslogic/web/Document.cs @@ -1044,6 +1044,17 @@ namespace umbraco.cms.businesslogic.web // Make the new document var content = ApplicationContext.Current.Services.ContentService.Copy(Content, CopyTo, RelateToOrignal, u.Id); newDoc = new Document(content); + IDataType tagsField = new Factory().GetNewObject(new Guid("4023e540-92f5-11dd-ad8b-0800200c9a66")); + } + else if (p.PropertyType.DataTypeDefinition.DataType.Id == tagsField.Id && + p.Value.ToString() != "") + { + //Find tags from the original and add them to the new document + var tags = Tags.Tag.GetTags(this.Id); + foreach (var tag in tags) + { + Tags.Tag.AddTagsToNode(newDoc.Id, tag.TagCaption, tag.Group); + } // Have to run the ActionNew handler to do umbEnsureUniqueName (for example) BusinessLogic.Actions.Action.RunActionHandlers(newDoc, ActionNew.Instance);