From af93bc20e8468a619dabdcbb709bd9e9e834e626 Mon Sep 17 00:00:00 2001 From: Rajnish Dargan Date: Wed, 20 Dec 2023 19:27:53 +0530 Subject: [PATCH 1/3] Issue #IQ-649 fix: Unable to play live v1 question set --- .../services/transformation-service/transformation.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/quml-library/src/lib/services/transformation-service/transformation.service.ts b/projects/quml-library/src/lib/services/transformation-service/transformation.service.ts index 4478b751..a1f5625d 100644 --- a/projects/quml-library/src/lib/services/transformation-service/transformation.service.ts +++ b/projects/quml-library/src/lib/services/transformation-service/transformation.service.ts @@ -202,7 +202,7 @@ export class TransformationService { const resValData: any = _.get(interactions, 'response1.validation', {}); if (!_.isEmpty(resValData)) { _.forEach(resValData, (value, key) => { - validation.set(key, value); + _.set(validation, key, value) }); } else { _.set(resp1, 'validation', validation); From f6c5c5984d4d292c03e86026b1a6ebd5078742cb Mon Sep 17 00:00:00 2001 From: Rajnish Dargan Date: Wed, 20 Dec 2023 19:30:41 +0530 Subject: [PATCH 2/3] Issue #IQ-649 fix: Unable to play live v1 question set --- web-component/package.json | 2 +- web-component/sunbird-quml-player.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web-component/package.json b/web-component/package.json index c572b91f..fc8925de 100644 --- a/web-component/package.json +++ b/web-component/package.json @@ -1,6 +1,6 @@ { "name": "@project-sunbird/sunbird-quml-player-web-component", - "version": "3.0.1", + "version": "3.0.2", "description": "The web component package for the sunbird QuML player", "main": "sunbird-quml-player.js", "scripts": { diff --git a/web-component/sunbird-quml-player.js b/web-component/sunbird-quml-player.js index dec37651..52482ab3 100644 --- a/web-component/sunbird-quml-player.js +++ b/web-component/sunbird-quml-player.js @@ -87883,7 +87883,7 @@ class TransformationService { const resValData = lodash_es__WEBPACK_IMPORTED_MODULE_4__["default"](interactions, 'response1.validation', {}); if (!lodash_es__WEBPACK_IMPORTED_MODULE_1__["default"](resValData)) { lodash_es__WEBPACK_IMPORTED_MODULE_7__["default"](resValData, (value, key) => { - validation.set(key, value); + lodash_es__WEBPACK_IMPORTED_MODULE_6__["default"](validation, key, value); }); } else { lodash_es__WEBPACK_IMPORTED_MODULE_6__["default"](resp1, 'validation', validation); From 7682e5bc3a969c0fa702aa67f76a536abdeaaf92 Mon Sep 17 00:00:00 2001 From: Rajnish Dargan Date: Wed, 20 Dec 2023 19:32:16 +0530 Subject: [PATCH 3/3] Issue #IQ-649 fix: Unable to play live v1 question set --- projects/quml-library/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/quml-library/package.json b/projects/quml-library/package.json index 2787ce72..3717e5f9 100644 --- a/projects/quml-library/package.json +++ b/projects/quml-library/package.json @@ -1,6 +1,6 @@ { "name": "@project-sunbird/sunbird-quml-player", - "version": "7.0.1", + "version": "7.0.2", "schematics": "./schematics/collection.json", "ng-add": { "save": "dependencies"