[DLUX-72] Yang UI Disable editing parameter name Created: 09/Mar/16  Updated: 15/Jul/16

Status: In Review
Project: dlux
Component/s: General
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Daša Šimková Assignee: Lubomir Balogh
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 5482

 Comments   
Comment by Daša Šimková [ 09/Mar/16 ]

1. Parameter with name "Param1" is used in a request, operation PUT.
{
"topology": [
{
"topology-id": "<<Param1>>",
"topology-types": {
"l3-unicast-igp-topology:l3-unicast-igp-topology": {
"isis-topology:isis": {},
"ospf-topology:ospf": {}
}
}
}
]
}
2. Request is run from History tab via "Run this request with same data on same API".
{
"topology": [
{
"topology-id": "vlaue1",
"topology-types": {
"l3-unicast-igp-topology:l3-unicast-igp-topology": {
"isis-topology:isis": {},
"ospf-topology:ospf": {}
}
}
}
]
}
3. The name of the parameter is changed (for example into "Param2") and request is run from History tab via "Run this request with same data on same API". Data contain original name of the parameter.
{
"topology": [
{
"topology-id": "<<Param1>>",
"topology-types": {
"l3-unicast-igp-topology:l3-unicast-igp-topology": {
"isis-topology:isis": {},
"ospf-topology:ospf": {}
}
}
}
]
}

Comment by Martin-Peter Lakatos [ 19/May/16 ]

Fixed

  • checked if "topology-id" is empty, if it isn't then disable the input...
Comment by Daniel Malachovsky [ 24/May/16 ]

Fix: https://git.opendaylight.org/gerrit/#/c/39246/

Comment by Daniel Malachovsky [ 24/May/16 ]

fix https://git.opendaylight.org/gerrit/#/c/39246/

Comment by Daša Šimková [ 07/Jun/16 ]

This fix caused that it is not possible to edit parameter`s value.
1. Add parameter, name p1, value v1.
2. Click edit button in parameter`s row.
3. Change value from v1 to v2.
EXPEXTED BEHAVIOUR: It is possible to save such edited parameter and parameter`s p1 value was changed to v2.
BUGGY BEHAVIOUR: It is not possible to save edited parameter with changed value.

Comment by Lubomir Balogh [ 15/Jul/16 ]

Fix: https://git.opendaylight.org/gerrit/#/c/41876/

Generated at Wed Feb 07 19:57:51 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.