If a contributor adds a string "Z66" it should be stored as the string "Z66". It currently gets stored as a reference to the object with the ZID Z1.
I.e., assume in the the following object Z90K1 takes values of type Z6, and we want to say the value of the Z90K1 is Z66. It should look like this:
{
Z1K1: Z90,
Z90K1: {
Z1K1: Z6,
Z6K1: Z66
}
}
but instead it looks like this:
{
Z1K1: Z90,
Z90K1: Z66
}
which is interpreted as this:
{
Z1K1: Z90,
Z90K1: {
Z1K1: Z9,
Z9K1: Z66
}
}
Steps to Reproduce:
Go to https://notwikilambda.toolforge.org/wiki/ZObject:Z101
{F34084433}
Click on edit (you need to be logged in)
{F34084432}
Change the value of the Z2K2 from ZZ to Z6 (and then click somewhere to trigger an update to the interface)
{F34084431}
Actual Results:
The current object at the bottom is displayed as
{ "Z1K1": "Z2", "Z2K1": "Z101", "Z2K2": "Z6", "Z2K3": { "Z1K1": "Z12", "Z12K1": [ { "Z1K1": "Z11", "Z11K1": "en", "Z11K2": "example string" } ] } }
Expected Results:
It should be:
{ "Z1K1": "Z2", "Z2K1": "Z101", "Z2K2": { "Z1K1": "Z6", "Z6K1": "Z6" }, "Z2K3": { "Z1K1": "Z12", "Z12K1": [ { "Z1K1": "Z11", "Z11K1": "en", "Z11K2": "example string" } ] } }