Fixes U4-2397 IContent Properties added with incorrect Value when read from Cache, and adds unit test for verifying types saved and returned for 24 standard DataTypes.
This commit is contained in:
@@ -106,7 +106,7 @@ namespace umbraco.editorControls
|
||||
public void Save()
|
||||
{
|
||||
if (ItemIdValue.Value.Trim() != "")
|
||||
_data.Value = ItemIdValue.Value.Trim();
|
||||
_data.Value = int.Parse(ItemIdValue.Value.Trim());
|
||||
else
|
||||
_data.Value = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user