ConfigurationApp Bugfix
Fix namespace of root element of augmented elements is wrong after update
Issue-ID: CCSDK-3036
Signed-off-by: Aijana Schumann <aijana.schumann@highstreet-technologies.com>
Change-Id: I38c6b8bc5fc4826886dbf48ad6e6ee363702ecb2
diff --git a/sdnr/wt/odlux/apps/configurationApp/src/actions/deviceActions.ts b/sdnr/wt/odlux/apps/configurationApp/src/actions/deviceActions.ts
index d7babc1..e528eff 100644
--- a/sdnr/wt/odlux/apps/configurationApp/src/actions/deviceActions.ts
+++ b/sdnr/wt/odlux/apps/configurationApp/src/actions/deviceActions.ts
@@ -528,7 +528,7 @@
// do not extract root member (0)
if (viewSpecification && viewSpecification.id !== "0") {
- const updateResult = await restService.setConfigData(dataPath, { [`${defaultNS}:${dataMember!}`]: data }); // addDataMember using defaultNS
+ const updateResult = await restService.setConfigData(dataPath, { [`${currentNS}:${dataMember!}`]: data }); // addDataMember using currentNS
if (updateResult.status < 200 || updateResult.status > 299) {
const message = updateResult.data && updateResult.data.errors && updateResult.data.errors.error && updateResult.data.errors.error[0] && updateResult.data.errors.error[0]["error-message"] || "";
throw new Error(`Server Error. Status: [${updateResult.status}]\n${message || updateResult.message || ''}`);
diff --git a/sdnr/wt/odlux/package.json b/sdnr/wt/odlux/package.json
index c5004ca..8ef5168 100644
--- a/sdnr/wt/odlux/package.json
+++ b/sdnr/wt/odlux/package.json
@@ -58,7 +58,7 @@
"jest": "23.6.0",
"less": "3.8.1",
"less-loader": "4.1.0",
- "node-sass": "4.9.3",
+ "node-sass": "4.12.0",
"postcss-loader": "3.0.0",
"requirejs": "2.3.6",
"requirejs-webpack-plugin": "1.0.5",