Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update plan failed when plan description is too big #97

Open
angel-popov opened this issue Apr 10, 2018 · 0 comments
Open

Update plan failed when plan description is too big #97

angel-popov opened this issue Apr 10, 2018 · 0 comments
Assignees

Comments

@angel-popov
Copy link
Contributor

  • Create a plan that has 255 symbols in the description
  • Update the created plan

Result:

-------------------------------------------------------
Running com.softavail.api.test.PlanTest
Request method:	POST
Request URI:	http://192.168.1.166:8080/comms-router-web-pure/api/routers/GAJOOJopintSTk3PoeIt62/plans/M73js5zYMbbk4XNB153fR
Proxy:			<none>
Request params:	<none>
Query params:	<none>
Form params:	<none>
Path params:	routerRef=GAJOOJopintSTk3PoeIt62
				ref=M73js5zYMbbk4XNB153fR
Headers:		If-Match="7dfcea4001a9cb4a341b3a0613bf87a8ade19a48bbf2b97b987b3ce9023dd64b"
				Accept=*/*
				Content-Type=application/json; charset=UTF-8
Cookies:		<none>
Multiparts:		<none>
Body:
{
    "description": null,
    "rules": [
        {
            "tag": null,
            "predicate": "1 == 1",
            "routes": [
                {
                    "queueRef": "79Tzqzx6KGGKWWxOlUJCY1",
                    "priority": null,
                    "timeout": 1
                },
                {
                    "queueRef": "79Tzqzx6KGGKWWxOlUJCY1",
                    "priority": null,
                    "timeout": null
                }
            ]
        }
    ],
    "defaultRoute": null
}

HTTP/1.1 500 Internal Server Error
Server: Apache-Coyote/1.1
Content-Type: application/json;charset=UTF-8
Content-Length: 124
Date: Tue, 10 Apr 2018 13:20:32 GMT
Connection: close

{
    "error": {
        "code": "PersistenceException",
        "description": "org.hibernate.exception.DataException: could not execute statement"
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants