Skip to content
This repository was archived by the owner on Feb 10, 2024. It is now read-only.

Commit d96ddee

Browse files
committed
fix: fixes for beta003
1 parent 85d7505 commit d96ddee

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/Our.Umbraco.DocTypeGridEditor/Controllers/DocTypeGridEditorApiController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public object GetDataTypePreValues([FromQuery]string dtdId)
146146
// Convert to editor config
147147
var dataType = _dataTypeService.GetDataType(dtd.Id);
148148
var propEditor = dataType.Editor;
149-
var content = propEditor.GetValueEditor().ConvertDbToString(new PropertyType(_shortStringHelper, dataType), dataType.Configuration, _dataTypeService);
149+
var content = propEditor.GetValueEditor().ConvertDbToString(new PropertyType(_shortStringHelper, dataType), dataType.Configuration);
150150
return content;
151151
}
152152

src/Our.Umbraco.DocTypeGridEditor/Helpers/DocTypeGridEditorHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ private IPublishedElement ConvertValue(string id, string contentTypeAlias, strin
143143

144144
if (prop2 != null)
145145
{
146-
var newValue2 = propEditor.GetValueEditor().ConvertDbToString(propType2, newValue, _dataTypeService);
146+
var newValue2 = propEditor.GetValueEditor().ConvertDbToString(propType2, newValue);
147147

148148
properties.Add(new DetachedPublishedProperty(propType, newValue2));
149149
}

src/Our.Umbraco.DocTypeGridEditor/Models/UnpublishedContent.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ private Dictionary<string, IPublishedProperty> MapProperties(IDataTypeService da
124124
dataEditors.TryGet(propertyType.DataType.EditorAlias, out var editor);
125125
if (editor != null)
126126
{
127-
value = editor.GetValueEditor().ConvertDbToString(property.PropertyType, value, dataTypeService);
127+
value = editor.GetValueEditor().ConvertDbToString(property.PropertyType, value);
128128
}
129129
}
130130

src/Our.Umbraco.DocTypeGridEditor/Our.Umbraco.DocTypeGridEditor.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
</PropertyGroup>
1717

1818
<ItemGroup>
19-
<PackageReference Include="Umbraco.Cms.Web.Website" Version="9.0.0-beta002" />
20-
<PackageReference Include="Umbraco.Cms.Web.BackOffice" Version="9.0.0-beta002" />
19+
<PackageReference Include="Umbraco.Cms.Web.Website" Version="9.0.0-beta003" />
20+
<PackageReference Include="Umbraco.Cms.Web.BackOffice" Version="9.0.0-beta003" />
2121
</ItemGroup>
2222

2323
<ItemGroup>

0 commit comments

Comments
 (0)