-
-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
If I create a workflow with Workbench and try to save it, it triggers an error because the core_meta.value column is limited to 255 chars.
So when I save, the php class is modified, but the workflow diagram is not saved in core_meta table.
Request from eQual console:
{
"uri": "http:\/\/equal.local\/?do=core_model_create&entity=core\\Meta",
"headers": {
"Host": "equal.local:80",
"Connection": "keep-alive",
"Content-Length": "536",
"Accept": "application\/json, text\/plain, *\/*",
"User-Agent": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/120.0.0.0 Safari\/537.36",
"Content-Type": "application\/json",
"Origin": "http:\/\/equal.local",
"Referer": "http:\/\/equal.local\/workbench\/",
"Accept-Encoding": "gzip, deflate",
"Accept-Language": "en-US,en;q=0.9",
"Cookie": "access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6MSwiZXhwIjoxNzEzOTc2MDE1fQ.2bYlMZ5g6DGHhxoeAAJwTlMQ03ht3Dn-bBFF9YwsLMI",
"ETag": "",
"X-Forwarded-For": "172.20.0.1"
},
"body": {
"fields": {
"value": "{\"pending\":{\"position\":{\"x\":192,\"y\":193},\"transitions\":{\"request_validation\":{\"anchorFrom\":4,\"anchorTo\":3}}},\"ready\":{\"position\":{\"x\":292,\"y\":293},\"transitions\":{\"refuse\":{\"anchorFrom\":4,\"anchorTo\":3},\"validate\":{\"anchorFrom\":4,\"anchorTo\":3}}},\"validated\":{\"position\":{\"x\":392,\"y\":393},\"transitions\":{\"bill\":{\"anchorFrom\":4,\"anchorTo\":3}}},\"billed\":{\"position\":{\"x\":492,\"y\":493},\"transitions\":{}}}",
"code": "workflow",
"reference": "timetrack.TimeEntry"
},
"do": "core_model_create",
"entity": "core\\Meta"
}
}Error sent:
{
"errors": {
"INVALID_PARAM": {
"value": {
"size_overflow": "String length must be maximum 255 chars."
}
}
}
}Metadata
Metadata
Assignees
Labels
No labels