Skip to content
Permalink
Browse files

Adding null check, in case data with a null culture should ever come …

…this way.
  • Loading branch information...
mawtex committed Sep 27, 2019
1 parent 70435b5 commit b4ec0c6abae7e92989a2e7c4541f11b2ffe53253
Showing with 1 addition and 1 deletion.
  1. +1 −1 Composite/C1Console/Actions/ActionLockingFacade.cs
@@ -416,7 +416,7 @@ private static string GetLockKey(EntityToken entityToken)
if (entityToken is DataEntityToken)
{
var dataEntityToken = entityToken as DataEntityToken;
lockKey = lockKey + dataEntityToken.DataSourceId.LocaleScope.ToString();
lockKey = lockKey + (dataEntityToken.DataSourceId.LocaleScope ?? "").ToString();
}

return lockKey;

0 comments on commit b4ec0c6

Please sign in to comment.
You can’t perform that action at this time.