Steps to replicate the issue (include links if applicable):
- call Echo(Z10486) against Wikifunctions
What happens?:
The call fails with an Object type mismatch.
{
"query": { "wikilambda_function_call": { "success": true, "data": "{\"Z1K1\":\"Z22\",\"Z22K1\":\"Z24\",\"Z22K2\":{\"Z1K1\":{\"Z1K1\":\"Z7\",\"Z7K1\":\"Z883\",\"Z883K1\":\"Z6\",\"Z883K2\":\"Z1\"},\"K1\":[{\"Z1K1\":\"Z7\",\"Z7K1\":\"Z882\",\"Z882K1\":\"Z6\",\"Z882K2\":\"Z1\"},{\"Z1K1\":{\"Z1K1\":\"Z7\",\"Z7K1\":\"Z882\",\"Z882K1\":\"Z6\",\"Z882K2\":\"Z1\"},\"K1\":\"errors\",\"K2\":{\"Z1K1\":\"Z5\",\"Z5K1\":\"Z518\",\"Z5K2\":{\"Z1K1\":{\"Z1K1\":\"Z7\",\"Z7K1\":\"Z885\",\"Z885K1\":\"Z518\"},\"Z518K1\":{\"Z1K1\":\"Z4\",\"Z4K1\":{\"Z1K1\":\"Z7\",\"Z7K1\":\"Z881\",\"Z881K1\":{\"Z1K1\":\"Z4\",\"Z4K1\":\"Z10485\",\"Z4K2\":[\"Z3\",{\"Z1K1\":\"Z3\",\"Z3K1\":\"Z10425\",\"Z3K2\":\"Z10485K1\",\"Z3K3\":{\"Z1K1\":\"Z12\",\"Z12K1\":[\"Z11\",{\"Z1K1\":\"Z11\",\"Z11K1\":\"Z1002\",\"Z11K2\":\"\"}]}},{\"Z1K1\":\"Z3\",\"Z3K1\":\"Z10015\",\"Z3K2\":\"Z10485K2\",\"Z3K3\":{\"Z1K1\":\"Z12\",\"Z12K1\":[\"Z11\",{\"Z1K1\":\"Z11\",\"Z11K1\":\"Z1002\",\"Z11K2\":\"\"}]}}],\"Z4K3\":\"Z101\"}},\"Z4K2\":[\"Z3\",{\"Z1K1\":\"Z3\",\"Z3K1\":{\"Z1K1\":\"Z4\",\"Z4K1\":\"Z10485\",\"Z4K2\":[\"Z3\",{\"Z1K1\":\"Z3\",\"Z3K1\":\"Z10425\",\"Z3K2\":\"Z10485K1\",\"Z3K3\":{\"Z1K1\":\"Z12\",\"Z12K1\":[\"Z11\",{\"Z1K1\":\"Z11\",\"Z11K1\":\"Z1002\",\"Z11K2\":\"\"}]}},{\"Z1K1\":\"Z3\",\"Z3K1\":\"Z10015\",\"Z3K2\":\"Z10485K2\",\"Z3K3\":{\"Z1K1\":\"Z12\",\"Z12K1\":[\"Z11\",{\"Z1K1\":\"Z11\",\"Z11K1\":\"Z1002\",\"Z11K2\":\"\"}]}}],\"Z4K3\":\"Z101\"},\"Z3K2\":\"K1\",\"Z3K3\":{\"Z1K1\":\"Z12\",\"Z12K1\":[\"Z11\",{\"Z1K1\":\"Z11\",\"Z11K1\":\"Z1002\",\"Z11K2\":\"head\"}]}},{\"Z1K1\":\"Z3\",\"Z3K1\":{\"Z1K1\":\"Z7\",\"Z7K1\":\"Z881\",\"Z881K1\":{\"Z1K1\":\"Z4\",\"Z4K1\":\"Z10485\",\"Z4K2\":[\"Z3\",{\"Z1K1\":\"Z3\",\"Z3K1\":\"Z10425\",\"Z3K2\":\"Z10485K1\",\"Z3K3\":{\"Z1K1\":\"Z12\",\"Z12K1\":[\"Z11\",{\"Z1K1\":\"Z11\",\"Z11K1\":\"Z1002\",\"Z11K2\":\"\"}]}},{\"Z1K1\":\"Z3\",\"Z3K1\":\"Z10015\",\"Z3K2\":\"Z10485K2\",\"Z3K3\":{\"Z1K1\":\"Z12\",\"Z12K1\":[\"Z11\",{\"Z1K1\":\"Z11\",\"Z11K1\":\"Z1002\",\"Z11K2\":\"\"}]}}],\"Z4K3\":\"Z101\"}},\"Z3K2\":\"K2\",\"Z3K3\":{\"Z1K1\":\"Z12\",\"Z12K1\":[\"Z11\",{\"Z1K1\":\"Z11\",\"Z11K1\":\"Z1002\",\"Z11K2\":\"tail\"}]}}],\"Z4K3\":\"Z831\"},\"Z518K2\":[{\"Z1K1\":\"Z4\",\"Z4K1\":\"Z10485\",\"Z4K2\":[\"Z3\",{\"Z1K1\":\"Z3\",\"Z3K1\":\"Z10425\",\"Z3K2\":\"Z10485K1\",\"Z3K3\":{\"Z1K1\":\"Z12\",\"Z12K1\":[\"Z11\",{\"Z1K1\":\"Z11\",\"Z11K1\":\"Z1002\",\"Z11K2\":\"\"}]}},{\"Z1K1\":\"Z3\",\"Z3K1\":\"Z10015\",\"Z3K2\":\"Z10485K2\",\"Z3K3\":{\"Z1K1\":\"Z12\",\"Z12K1\":[\"Z11\",{\"Z1K1\":\"Z11\",\"Z11K1\":\"Z1002\",\"Z11K2\":\"\"}]}}],\"Z4K3\":\"Z101\"},{\"Z1K1\":\"Z10485\",\"Z10485K1\":\"Z10426\",\"Z10485K2\":{\"Z1K1\":\"Z10015\",\"Z10015K1\":\"31\"}},{\"Z1K1\":\"Z10485\",\"Z10485K1\":\"Z10427\",\"Z10485K2\":{\"Z1K1\":\"Z10015\",\"Z10015K1\":\"28\"}},{\"Z1K1\":\"Z10485\",\"Z10485K1\":\"Z10428\",\"Z10485K2\":{\"Z1K1\":\"Z10015\",\"Z10015K1\":\"31\"}},{\"Z1K1\":\"Z10485\",\"Z10485K1\":\"Z10429\",\"Z10485K2\":{\"Z1K1\":\"Z10015\",\"Z10015K1\":\"30\"}},{\"Z1K1\":\"Z10485\",\"Z10485K1\":\"Z10430\",\"Z10485K2\":{\"Z1K1\":\"Z10015\",\"Z10015K1\":\"31\"}},{\"Z1K1\":\"Z10485\",\"Z10485K1\":\"Z10431\",\"Z10485K2\":{\"Z1K1\":\"Z10015\",\"Z10015K1\":\"30\"}},{\"Z1K1\":\"Z10485\",\"Z10485K1\":\"Z10432\",\"Z10485K2\":{\"Z1K1\":\"Z10015\",\"Z10015K1\":\"31\"}},{\"Z1K1\":\"Z10485\",\"Z10485K1\":\"Z10433\",\"Z10485K2\":{\"Z1K1\":\"Z10015\",\"Z10015K1\":\"31\"}},{\"Z1K1\":\"Z10485\",\"Z10485K1\":\"Z10434\",\"Z10485K2\":{\"Z1K1\":\"Z10015\",\"Z10015K1\":\"30\"}},{\"Z1K1\":\"Z10485\",\"Z10485K1\":\"Z10435\",\"Z10485K2\":{\"Z1K1\":\"Z10015\",\"Z10015K1\":\"31\"}},{\"Z1K1\":\"Z10485\",\"Z10485K1\":\"Z10436\",\"Z10485K2\":{\"Z1K1\":\"Z10015\",\"Z10015K1\":\"30\"}},{\"Z1K1\":\"Z10485\",\"Z10485K1\":\"Z10437\",\"Z10485K2\":{\"Z1K1\":\"Z10015\",\"Z10015K1\":\"31\"}}],\"Z518K3\":{\"Z1K1\":\"Z5\",\"Z5K1\":\"Z502\",\"Z5K2\":{\"Z1K1\":{\"Z1K1\":\"Z7\",\"Z7K1\":\"Z885\",\"Z885K1\":\"Z502\"},\"Z502K1\":\"Z509\",\"Z502K2\":{\"Z1K1\":\"Z5\",\"Z5K1\":\"Z509\",\"Z5K2\":{\"Z1K1\":{\"Z1K1\":\"Z7\",\"Z7K1\":\"Z885\",\"Z885K1\":\"Z509\"},\"Z509K1\":[\"Z5\"]}}}}}}},{\"Z1K1\":{\"Z1K1\":\"Z7\",\"Z7K1\":\"Z882\",\"Z882K1\":\"Z6\",\"Z882K2\":\"Z1\"},\"K1\":\"orchestrationMemoryUsage\",\"K2\":\"124.66 MiB\"},{\"Z1K1\":{\"Z1K1\":\"Z7\",\"Z7K1\":\"Z882\",\"Z882K1\":\"Z6\",\"Z882K2\":\"Z1\"},\"K1\":\"orchestrationCpuUsage\",\"K2\":\"410.349 ms\"},{\"Z1K1\":{\"Z1K1\":\"Z7\",\"Z7K1\":\"Z882\",\"Z882K1\":\"Z6\",\"Z882K2\":\"Z1\"},\"K1\":\"orchestrationStartTime\",\"K2\":\"2023-01-02T23:18:03.275Z\"},{\"Z1K1\":{\"Z1K1\":\"Z7\",\"Z7K1\":\"Z882\",\"Z882K1\":\"Z6\",\"Z882K2\":\"Z1\"},\"K1\":\"orchestrationEndTime\",\"K2\":\"2023-01-02T23:18:03.894Z\"},{\"Z1K1\":{\"Z1K1\":\"Z7\",\"Z7K1\":\"Z882\",\"Z882K1\":\"Z6\",\"Z882K2\":\"Z1\"},\"K1\":\"orchestrationDuration\",\"K2\":\"619 ms\"},{\"Z1K1\":{\"Z1K1\":\"Z7\",\"Z7K1\":\"Z882\",\"Z882K1\":\"Z6\",\"Z882K2\":\"Z1\"},\"K1\":\"orchestrationHostname\",\"K2\":\"af633a9fcbcd\"}]}}" } }
}
What should have happened instead?:
It should pass and return Z10486 instead.
Software version (skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
No idea if the issue is with echo, or validation. The object is complicated - it is a typed list of a user-defined type - but it seems it should pass.
If Z10486 is indeed invalid, it should say something on the page of Z10486, but that looks all good.