When i paste a long json , the app will get stuck forever
What version of the Codex App are you using (From “About Codex” dialog)?
latest
What subscription do you have?
bussiness
What platform is your computer?
macbook pro m3
What issue are you seeing?
when i paste a long json like this, the codex desktop app will get stuck forever. This is guaranteed to happen
{
"success": true,
"i18nCode": null,
"code": "0",
"message": "SUCCESS",
"data": {
"ResultRes": [
{
"id": null,
"resource": "app",
"type": "json",
"value": "{\n \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n \"type\": \"object\",\n \"properties\": {\n \"product_name\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"maxLength\": 100\n },\n \"color\": {\n \"type\": \"string\",\n \"enum\": [\n \"Red\",\n \"Green\",\n \"Blue\"\n ]\n }\n },\n \"required\": [\n \"product_name\"\n ]\n}",
"storeId": null,
"failResult": "not satisfy",
"failCode": "APP_NOT_INSTALL"
}
]
},
"extMap": {},
"messageArgs": []
}
What steps can reproduce the bug?
paste a long json like this
{
"success": true,
"i18nCode": null,
"code": "0",
"message": "SUCCESS",
"data": {
"ResultRes": [
{
"id": null,
"resource": "app",
"type": "json",
"value": "{\n \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n \"type\": \"object\",\n \"properties\": {\n \"product_name\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"maxLength\": 100\n },\n \"color\": {\n \"type\": \"string\",\n \"enum\": [\n \"Red\",\n \"Green\",\n \"Blue\"\n ]\n }\n },\n \"required\": [\n \"product_name\"\n ]\n}",
"storeId": null,
"failResult": "not satisfy",
"failCode": "APP_NOT_INSTALL"
}
]
},
"extMap": {},
"messageArgs": []
}
What is the expected behavior?
_No response_
Additional information
_No response_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗