From d3f6fe52697c0366ea597df7efb2dcd82c5f6213 Mon Sep 17 00:00:00 2001 From: Stephan Date: Tue, 11 Dec 2012 17:37:33 -0100 Subject: [PATCH 1/3] U4-1212 - bugfix Document.PathPublished --- src/umbraco.cms/businesslogic/web/Document.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/umbraco.cms/businesslogic/web/Document.cs b/src/umbraco.cms/businesslogic/web/Document.cs index 04cac5e3a1..2b3df3fe79 100644 --- a/src/umbraco.cms/businesslogic/web/Document.cs +++ b/src/umbraco.cms/businesslogic/web/Document.cs @@ -781,7 +781,7 @@ namespace umbraco.cms.businesslogic.web int x = SqlHelper.ExecuteScalar(@"select count(node.id) - count(doc.nodeid) from umbracoNode as node left join cmsDocument as doc on (node.id=doc.nodeId and doc.published=1) -where '" + Path + ",' like " + SqlHelper.Concat("node.path", "'%'")); +where '" + Path + ",' like " + SqlHelper.Concat("node.path", "',%'")); return (x == 1); } } From 7aa206432248f6591882eb7aed79de3d7b4fad2f Mon Sep 17 00:00:00 2001 From: Stephan Date: Fri, 30 Nov 2012 13:33:24 -0100 Subject: [PATCH 2/3] fix xpath syntax error with legacy XML schema --- src/Umbraco.Web/DefaultPublishedContentStore.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web/DefaultPublishedContentStore.cs b/src/Umbraco.Web/DefaultPublishedContentStore.cs index 1b8dfddc7c..bb54717c26 100644 --- a/src/Umbraco.Web/DefaultPublishedContentStore.cs +++ b/src/Umbraco.Web/DefaultPublishedContentStore.cs @@ -42,7 +42,7 @@ namespace Umbraco.Web DescendantDocumentById = "//node [@id={0}]"; DescendantDocumentByAlias = "//node[(" + "contains(concat(',',translate(data [@alias='umbracoUrlAlias'], ' ', ''),','),',{0},')" - + " or contains(concat(',',translate(data [@alias='umbracoUrlAlias'], ' ', ''),','),',/{0},'" + + " or contains(concat(',',translate(data [@alias='umbracoUrlAlias'], ' ', ''),','),',/{0},')" + ")]"; ChildDocumentByUrlName = "/node [@urlName='{0}']"; RootDocumentWithLowestSortOrder = "/root/node [not(@sortOrder > ../node/@sortOrder)][1]"; From 094fbf2e6b7cb1969cf1b072eac39fe91fe79a4a Mon Sep 17 00:00:00 2001 From: Sebastiaan Janssen Date: Wed, 12 Dec 2012 07:20:58 -0100 Subject: [PATCH 3/3] Putting ClienntDependency.Mvc back now that we have assembly redirects --- src/Umbraco.Web.UI/Umbraco.Web.UI.csproj | 6 +++--- src/Umbraco.Web.UI/packages.config | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj b/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj index 46c99d2bc0..09bd34d63e 100644 --- a/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj +++ b/src/Umbraco.Web.UI/Umbraco.Web.UI.csproj @@ -100,6 +100,9 @@ False ..\packages\ClientDependency.1.5.1.0\lib\ClientDependency.Core.dll + + ..\packages\ClientDependency-Mvc.1.5.1.0\lib\ClientDependency.Core.Mvc.dll + False ..\packages\log4net-mediumtrust.2.0.0\lib\log4net.dll @@ -2277,13 +2280,10 @@ xcopy "$(ProjectDir)"..\packages\SqlServerCE.4.0.0.0\x86\*.* "$(TargetDir)x86\" - - - diff --git a/src/Umbraco.Web.UI/packages.config b/src/Umbraco.Web.UI/packages.config index 26ff31c640..4a5e3f8da5 100644 --- a/src/Umbraco.Web.UI/packages.config +++ b/src/Umbraco.Web.UI/packages.config @@ -1,5 +1,7 @@  + +