diff --git a/IRaCIS.Core.Application/Service/Reading/ReadingQuestionService.cs b/IRaCIS.Core.Application/Service/Reading/ReadingQuestionService.cs index 752ea9c8c..b5aa3ea1c 100644 --- a/IRaCIS.Core.Application/Service/Reading/ReadingQuestionService.cs +++ b/IRaCIS.Core.Application/Service/Reading/ReadingQuestionService.cs @@ -514,9 +514,10 @@ namespace IRaCIS.Application.Services var tableQuestion = x.Clone(); tableQuestion.TrialId = inDto.TrialId; tableQuestion.TrialCriterionId = trialCriterion.Id; + tableQuestion.Id = NewId.NextGuid(); - + tableQuestion.ReadingQuestionId = copyNewQuestionList.Where(y => y.ReadingQuestionSystemId == x.ReadingQuestionId).Select(y => y.Id).FirstOrDefault(); if (tableQuestion.ParentId != null) { tableQuestion.ParentId = copyNewTrialTableQuestionList.Where(y => x.ParentId == y.OriginalId).Select(y => y.Id).FirstOrDefault();