From 6f0ddc37a04b5e76eb6fa9baae944d2ec0afd4fc Mon Sep 17 00:00:00 2001 From: Sebastiaan Janssen Date: Tue, 20 Nov 2012 14:13:47 -0100 Subject: [PATCH 1/2] Include System.Data.SqlServerCe* should do a copy local --- src/Umbraco.Web.UI/Umbraco.Web.UI.csproj | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj b/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj index 551c9e5e79..1416a0161c 100644 --- a/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj +++ b/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj @@ -147,10 +147,12 @@ False ..\..\lib\SQLCE4\System.Data.SqlServerCe.dll + True False ..\..\lib\SQLCE4\System.Data.SqlServerCe.Entity.dll + True From e3a085774c5491aca0d1f5e757a58d81276e029b Mon Sep 17 00:00:00 2001 From: Sebastiaan Janssen Date: Tue, 20 Nov 2012 14:49:30 -0100 Subject: [PATCH 2/2] Revert 5c828605ef65 / 8b3a266b2d00 because that would have nasty side effects, see http://issues.umbraco.org/issue/U4-1061 --- src/umbraco.cms/businesslogic/web/Document.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/umbraco.cms/businesslogic/web/Document.cs b/src/umbraco.cms/businesslogic/web/Document.cs index 87f8cd8878..59064ab1bd 100644 --- a/src/umbraco.cms/businesslogic/web/Document.cs +++ b/src/umbraco.cms/businesslogic/web/Document.cs @@ -1186,12 +1186,6 @@ where '" + Path + ",' like " + SqlHelper.Concat("node.path", "'%'")); { SqlHelper.ExecuteNonQuery(string.Format("update cmsDocument set published = 0 where nodeId = {0}", Id)); - foreach (var d in Children) { - if (d.Published) { - d.UnPublish(); - } - } - _published = false; FireAfterUnPublish(e);