Merge with 4.11.4
This commit is contained in:
@@ -124,17 +124,14 @@
|
||||
<Private>True</Private>
|
||||
<HintPath>..\packages\CodeSharp.Package.AspNetWebPage.1.0\lib\net40\NuGet.Core.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Our.Umbraco.uGoLive, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\uGoLive.1.3.0\lib\Our.Umbraco.uGoLive.dll</HintPath>
|
||||
<Reference Include="Our.Umbraco.uGoLive">
|
||||
<HintPath>..\packages\uGoLive.1.4.0\lib\Our.Umbraco.uGoLive.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Our.Umbraco.uGoLive.47x, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\uGoLive.1.3.0\lib\Our.Umbraco.uGoLive.47x.dll</HintPath>
|
||||
<Reference Include="Our.Umbraco.uGoLive.47x">
|
||||
<HintPath>..\packages\uGoLive.1.4.0\lib\Our.Umbraco.uGoLive.47x.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Our.Umbraco.uGoLive.Checks, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\packages\uGoLive.1.3.0\lib\Our.Umbraco.uGoLive.Checks.dll</HintPath>
|
||||
<Reference Include="Our.Umbraco.uGoLive.Checks">
|
||||
<HintPath>..\packages\uGoLive.1.4.0\lib\Our.Umbraco.uGoLive.Checks.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System">
|
||||
<Name>System</Name>
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user