Stack trace in error message

Bug #1304384 reported by Oleksandr Minakov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MagnetoDB
Invalid
Medium
Oleksandr Minakov

Bug Description

Request Headers:
{'Content-Type': 'application/json', 'Accept': 'application/json'}

Request Body:
{"key_schema": [{"key_type": "HASH", "attribute_name": "forum"}, {"key_type": "RANGE", "attribute_name": "subject"}], "table_name": "1ialf2lsxldsxu2kp9fr8uze9yqanmr8y097nn93adiybr2vqswsk29zsoun08ndodanz2biwri10ga8hceb2114ida3m0gjivl3jq5iholrwb5t433qc5i2urmn6ourw7hzu9gfq14aze7og5d5j7sf0iw6avgz3e1vkzii2cc9e5069u834fqu4w3ylxval9ylypym3qeaskl4lqbxh4o1z6ucca3u0toyjr9h2vsyai8a2wrdv1269uu3ilh", "attribute_definitions": [{"attribute_type": "S", "attribute_name": "forum"}, {"attribute_type": "S", "attribute_name": "subject"}, {"attribute_type": "S", "attribute_name": "last_posted_by"}]}

Response Status: 500
Response Headers:
{'date': 'Tue, 08 Apr 2014 12:21:49 GMT', 'content-length': '1131', 'content-type': 'application/json'}

Response Body:
{"explanation": "The server has either erred or is incapable of performing the requested operation.", "code": 500, "error": {"message": "Error executing query CREATE TABLE \"user_default_tenant\".\"user_1ialf2lsxldsxu2kp9fr8uze9yqanmr8y097nn93adiybr2vqswsk29zsoun08ndodanz2biwri10ga8hceb2114ida3m0gjivl3jq5iholrwb5t433qc5i2urmn6ourw7hzu9gfq14aze7og5d5j7sf0iw6avgz3e1vkzii2cc9e5069u834fqu4w3ylxval9ylypym3qeaskl4lqbxh4o1z6ucca3u0toyjr9h2vsyai8a2wrdv1269uu3ilh\" (\"user_last_posted_by\" text,\"user_forum\" text,\"user_subject\" text,extra_attr_data map<text, blob>,extra_attr_types map<text, text>,attr_exist set<text>,PRIMARY KEY (\"user_forum\",\"user_subject\")):code=2200 [Invalid query] message=\"Column family names shouldn't be more than 48 characters long (got \"user_1ialf2lsxldsxu2kp9fr8uze9yqanmr8y097nn93adiybr2vqswsk29zsoun08ndodanz2biwri10ga8hceb2114ida3m0gjivl3jq5iholrwb5t433qc5i2urmn6ourw7hzu9gfq14aze7og5d5j7sf0iw6avgz3e1vkzii2cc9e5069u834fqu4w3ylxval9ylypym3qeaskl4lqbxh4o1z6ucca3u0toyjr9h2vsyai8a2wrdv1269uu3ilh\")\"", "traceback": null, "type": "BackendInteractionException"}, "title": "Internal Server Error"}
}}}

Expected response body:
{"explanation": "The server has either erred or is incapable of performing the requested operation.", "code": 500, "error": {"message": "Error executing query", "traceback": Error executing query CREATE TABLE \"user_default_tenant\".\"user_1ialf2lsxldsxu2kp9fr8uze9yqanmr8y097nn93adiybr2vqswsk29zsoun08ndodanz2biwri10ga8hceb2114ida3m0gjivl3jq5iholrwb5t433qc5i2urmn6ourw7hzu9gfq14aze7og5d5j7sf0iw6avgz3e1vkzii2cc9e5069u834fqu4w3ylxval9ylypym3qeaskl4lqbxh4o1z6ucca3u0toyjr9h2vsyai8a2wrdv1269uu3ilh\" (\"user_last_posted_by\" text,\"user_forum\" text,\"user_subject\" text,extra_attr_data map<text, blob>,extra_attr_types map<text, text>,attr_exist set<text>,PRIMARY KEY (\"user_forum\",\"user_subject\")):code=2200 [Invalid query] message=\"Column family names shouldn't be more than 48 characters long (got \"user_1ialf2lsxldsxu2kp9fr8uze9yqanmr8y097nn93adiybr2vqswsk29zsoun08ndodanz2biwri10ga8hceb2114ida3m0gjivl3jq5iholrwb5t433qc5i2urmn6ourw7hzu9gfq14aze7og5d5j7sf0iw6avgz3e1vkzii2cc9e5069u834fqu4w3ylxval9ylypym3qeaskl4lqbxh4o1z6ucca3u0toyjr9h2vsyai8a2wrdv1269uu3ilh\, "type": "BackendInteractionException"}, "title": "Internal Server Error"}
}}}

Revision history for this message
Ilya Sviridov (isviridov) wrote :

Could you explain, what expected result is?

Changed in magnetodb:
status: New → Incomplete
description: updated
Changed in magnetodb:
importance: Undecided → Medium
milestone: none → 2.0.3
Changed in magnetodb:
status: Incomplete → New
Changed in magnetodb:
assignee: nobody → Oleksandr Minakov (oleksandr-minakov)
Changed in magnetodb:
milestone: 2.0.3 → 2.0.4
Changed in magnetodb:
milestone: 2.0.4 → next
Changed in magnetodb:
milestone: next → 2.0.6
Changed in magnetodb:
status: New → Invalid
Changed in magnetodb:
milestone: 2.0.6 → juno-3
Changed in magnetodb:
milestone: juno-3 → juno-rc1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.