U4-8670 Ensure the create package system in the back office allows for specifying correct metadata

Just a few more updates based on PR feedback
This commit is contained in:
Sebastiaan Janssen
2016-07-14 12:09:55 +02:00
parent 0450cdd550
commit 89f759c088
2 changed files with 3 additions and 2 deletions

View File

@@ -102,7 +102,6 @@
vm.installState.status = localizationService.localize("packager_installStateImporting");
vm.installState.progress = "0";
//TODO: If any of these fail, will they keep calling the next one?
packageResource
.import(vm.localPackage)
.then(function(pack) {

View File

@@ -2,6 +2,7 @@ using System;
using System.Xml;
using System.Xml.XPath;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using Umbraco.Core;
using Umbraco.Core.Configuration;
@@ -275,6 +276,8 @@ namespace umbraco.cms.businesslogic.packager
}
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("This method is no longer in use and will be removed in the future")]
public static void UpdateValue(XmlNode n, string Value)
{
if (n.FirstChild != null)
@@ -283,7 +286,6 @@ namespace umbraco.cms.businesslogic.packager
{
n.AppendChild(Source.CreateTextNode(Value));
}
//Save();
}
public static void Save(PackageInstance package, string dataSource)