-
Bug
-
Resolution: Done
-
Medium
-
Montreal Release
-
None
Open config app:
- Browse to: https://sdnc-web-0.sdnr-int-1.t3.lab.osn-lab.com/odlux/index.html#/configuration/oai/_3gpp-common-managed-element:ManagedElement[MANAGEDELEMENT=3584]/_3gpp-nr-nrm-gnbdufunction:GNBDUFunction
- click on list element --> error message
https://sdnc-web-0.sdnr-int-1.t3.lab.osn-lab.com/rests/data/network-topology:network-topology/topology=topology-netconf/node=oai/yang-ext:mount/_3gpp-common-managed-element:ManagedElement=MANAGEDELEMENT=3584/_3gpp-nr-nrm-gnbdufunction:GNBDUFunction=MANAGEDELEMENT%3D3584,GNBDUFUNCTION%3D0response code 400 Bad request{ "errors": { "error": [ { "error-tag": "unknown-attribute", "error-message": "Schema for (urn:3gpp:sa5:_3gpp-nr-nrm-gnbdufunction?revision=2023-04-26)GNBDUFunction requires 1 key values, 2 supplied", "error-type": "protocol" } ] }}
Analysis result:
- Problem relates to fix in https://jira.onap.org/browse/CCSDK-3799
- source location: deviceActions.ts:236
- The "," to unicode replacement parameters are in wrong order. Source is containing the ASCII parameter and destination the Unicode character.
- comma in "GNBDUFunction=MANAGEDELEMENT%3D3584,GNBDUFUNCTION%3D0" makes the problem.
Original:
} else { // normal case & replaces unicode %2C if present dataPath += `/${property}${key ? `=${key.replace('%2C', /,/ig).replace(/\//ig, '%2F')}` : ''}`;
Fix:
} else { // normal case & replaces unicode %2C if present dataPath += `/${property}${key ? `=${key.replace(/,/ig, '%2C').replace(/\//ig, '%2F')}` : ''}`;
- relates to
-
CCSDK-3799 SDNR UI don't process list which has more than one key
- Open