Description
On Wikifunctions.org, fetching P5137/item for this sense returns the error below. However, it works fine for other properties, such as instance of and demonym of.
Update (still on 28 February 2025): I've seen this error multiple times over the last few days. Just now, I ran it in the sandbox, and it completed successfully. Then I returned to the UI and ran it again and it completed successfully.
{
"Z1K1": "Z5",
"Z5K1": "Z507",
"Z5K2": {
"Z1K1": {
"Z1K1": "Z7",
"Z7K1": "Z885",
"Z885K1": "Z507"
},
"Z507K1": {
"Z1K1": "Z99",
"Z99K1": {
"Z1K1": "Z7",
"Z7K1": "Z6822",
"Z6822K1": {
"Z1K1": "Z6092",
"Z6092K1": "P5137"
}
}
},
"Z507K2": {
"Z1K1": "Z5",
"Z5K1": "Z500",
"Z5K2": {
"Z1K1": {
"Z1K1": "Z7",
"Z7K1": "Z885",
"Z885K1": "Z500"
},
"Z500K1": "Call tuples failed in returnOnFirstError. Error: TypeError: this.functor_ is not a function."
}
}
}
}The input to the API (wikilambda_function_call_zobject) looks okay: {"Z1K1":"Z7","Z7K1":"Z6822","Z6822K1":{"Z1K1":"Z6092","Z6092K1":"P5137"}}
Steps to reproduce (step by step instructions, with links, commands and necessary data to reproduce the error)
- Visit https://www.wikifunctions.org/view/en/Z6822
- Under Enter inputs, type P5137 and then select "item for this sense" in the drop-down
- Click Run function
Observed behavior
- In theDetails dialog, one sees Error in evaluation
- Using Developer tools, one can see the error and input objects mentioned above
Expected behavior/Acceptance criteria (returned value, expected error, performance expectations, etc.)
- The property should be fetched and then displayed, with no error
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#Back-end_Task/Bug_completion_checklist