aboutsummaryrefslogtreecommitdiffstats
path: root/sdnr/wt/odlux/apps/configurationApp/src
diff options
context:
space:
mode:
authorAijana Schumann <aijana.schumann@highstreet-technologies.com>2020-12-11 11:20:14 +0100
committerKAPIL SINGAL <ks220y@att.com>2020-12-18 20:36:32 +0000
commit9e845affab000be46b38223e45f92b590947e892 (patch)
tree1aa295d3120bd68ef82c98999f15082ee6c85bda /sdnr/wt/odlux/apps/configurationApp/src
parent30a5975d417a3815832b944a2be6e4486cd759d8 (diff)
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
Diffstat (limited to 'sdnr/wt/odlux/apps/configurationApp/src')
-rw-r--r--sdnr/wt/odlux/apps/configurationApp/src/actions/deviceActions.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdnr/wt/odlux/apps/configurationApp/src/actions/deviceActions.ts b/sdnr/wt/odlux/apps/configurationApp/src/actions/deviceActions.ts
index d7babc156..e528effab 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 @@ export const updateDataActionAsyncCreator = (vPath: string, data: any) => async
// 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 || ''}`);