diff --git a/app/scripts/contenteditor/migration/questionsetfix1-task.js b/app/scripts/contenteditor/migration/questionsetfix1-task.js index 8d08d5c9..4b5a29f6 100644 --- a/app/scripts/contenteditor/migration/questionsetfix1-task.js +++ b/app/scripts/contenteditor/migration/questionsetfix1-task.js @@ -102,7 +102,9 @@ org.ekstep.contenteditor.migration.patch_1 = new (Class.extend({ } _.each(questionData.media, function (media) { - media.src = instance.getRelativeURL(media.src) + if(media.src){ + media.src = instance.getRelativeURL(media.src) + } }) _.each(quesAssets, function (quesAsset) { // quesAsset.url = getRelativeURL(quesAsset.url);