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

Fixes empty control exception when a document type is not saved after… #17

Merged
merged 1 commit into from
Oct 22, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ private static ServiceContext Services

public static IPublishedContent ConvertValueToContent(string id, string docTypeAlias, string dataJson)
{
if (string.IsNullOrWhiteSpace(docTypeAlias))
return null;

return (IPublishedContent)ApplicationContext.Current.ApplicationCache.RequestCache.GetCacheItem(
"DocTypeGridEditorHelper.ConvertValueToContent_" + id + "_" + docTypeAlias, () =>
{
Expand Down