Description
Steps to reproduce:
- Send a request to API to create a new composition implementation for Z10339 which contains a Z7 like this:
{
"Z1K1": "Z7",
"Z7K1": {
"Z1K1": "Z18",
"Z18K1": {
"Z1K1": "Z6",
"Z6K1": "Z10339K1"
}
},
"K1": {
"Z1K1": "Z6",
"Z6K1": "first input"
},
"K2": {
"Z1K1": "Z6",
"Z6K1": "second input"
},
}Observed behavior:
- API stores the implementation, but with the "K2" key replaced by "Z7K2", i.e.
{
"Z1K1": "Z7",
"Z7K1": {
"Z1K1": "Z18",
"Z18K1": {
"Z1K1": "Z6",
"Z6K1": "Z10339K1"
}
},
"K1": {
"Z1K1": "Z6",
"Z6K1": "first input"
},
"Z7K2": {
"Z1K1": "Z6",
"Z6K1": "second input"
},
}Expected behavior (Acceptance criteria):
- It doesn't adjust the key.
Note
The reproduction step calls the API directly because T324597 means you cannot currently use the UI.
Completion checklist
- Before closing this task, review one by one the checklist available here: https://www.mediawiki.org/wiki/Abstract_Wikipedia_team/Definition_of_Done#Front-end_Task/Bug_Completion_Checklist