resolve file referencing on webinar creation time ...
This commit is contained in:
@@ -1545,6 +1545,7 @@ namespace xFileService.Providers
|
||||
|
||||
//
|
||||
// Fill Data for Update ...
|
||||
var itemEntity = item.FromDto();
|
||||
entity = entity.UpdateData(
|
||||
updateWith: item,
|
||||
propertyBlackList: new List<string>
|
||||
@@ -1555,7 +1556,14 @@ namespace xFileService.Providers
|
||||
nameof(XFile.References),
|
||||
}
|
||||
);
|
||||
entity.References = item.References.ToListString();
|
||||
|
||||
//
|
||||
if (!itemEntity.IsNullOrDefault())
|
||||
{
|
||||
entity.References = itemEntity.References;
|
||||
}
|
||||
|
||||
//
|
||||
if (entity.IsNullOrDefault())
|
||||
{
|
||||
XException.InvalidData.Throw();
|
||||
|
||||
Reference in New Issue
Block a user