Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts: # .gitignore # build/NuSpecs/tools/Web.config.install.xdt # src/Umbraco.Core/ContentExtensions.cs # src/Umbraco.Infrastructure/Intall/InstallHelper.cs # src/Umbraco.Infrastructure/Models/Blocks/BlockEditorModel.cs # src/Umbraco.Infrastructure/Models/Blocks/BlockItemData.cs # src/Umbraco.Infrastructure/Models/Blocks/BlockListLayoutReference.cs # src/Umbraco.Infrastructure/Models/Mapping/CommonMapper.cs # src/Umbraco.Infrastructure/PropertyEditors/BlockEditorPropertyEditor.cs # src/Umbraco.Infrastructure/PropertyEditors/BlockListConfigurationEditor.cs # src/Umbraco.Infrastructure/PropertyEditors/NestedContentPropertyEditor.cs # src/Umbraco.Tests/PropertyEditors/BlockListPropertyValueConverterTests.cs # src/Umbraco.Web.UI.Client/package-lock.json # src/Umbraco.Web/Compose/NestedContentPropertyComponent.cs
This commit is contained in:
@@ -135,7 +135,7 @@ namespace Umbraco.Core.Persistence.Repositories.Implement
|
||||
|
||||
if (objectTypes.Any())
|
||||
{
|
||||
sql = sql.Where("umbracoNode.nodeObjectType IN (@objectTypes)", objectTypes);
|
||||
sql = sql.Where("umbracoNode.nodeObjectType IN (@objectTypes)", new { objectTypes = objectTypes });
|
||||
}
|
||||
|
||||
return Database.Fetch<string>(sql);
|
||||
|
||||
@@ -1187,7 +1187,7 @@ AND umbracoNode.id <> @id",
|
||||
{
|
||||
// first clear dependencies
|
||||
Database.Delete<TagRelationshipDto>("WHERE propertyTypeId = @Id", new { Id = propertyTypeId });
|
||||
Database.Delete<PropertyDataDto>("WHERE propertytypeid = @Id", new { Id = propertyTypeId });
|
||||
Database.Delete<PropertyDataDto>("WHERE propertyTypeId = @Id", new { Id = propertyTypeId });
|
||||
|
||||
// then delete the property type
|
||||
Database.Delete<PropertyTypeDto>("WHERE contentTypeId = @Id AND id = @PropertyTypeId",
|
||||
|
||||
Reference in New Issue
Block a user