Tolis Emmanouilidis edited a comment on Bug AGPUSH-255

Matthias Wessendorf This CURL:

curl -v -b cookies.txt -c cookies.txt -v -H "Accept: application/json" -H "Content-type: application/json" -X POST -d '

{"name" : "MyApppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp", "description" : "awesome app" }

' http://127.0.0.1:8080/ag-push/rest/applications

produces:

Caused by: org.h2.jdbc.JdbcSQLException: Value too long for column "NAME VARCHAR(255) NOT NULL": "'MyApppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp... (537)"; SQL statement:
insert into PushApplication (description, developer, masterSecret, name, pushApplicationID, id) values (?, ?, ?, ?, ?, ?) [22001-161]

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira