)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"b2740879e5fb3a04a5614039f64ee0b338321457","unresolved":false,"context_lines":[{"line_number":18,"context_line":"    (HTTP 404)"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"After this fix:"},{"line_number":21,"context_line":"HTTP 404 Not Found No image found with ID f433471a-53a8-4d31-bf8f-f0b6b594dfc"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Closes-Bug: #1598714"},{"line_number":24,"context_line":"Change-Id: I33971a2a16416c8538158299325471c2a69dbb3e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"7f231b9d_4409612f","line":21,"range":{"start_line":21,"start_character":0,"end_line":21,"end_character":77},"updated":"2017-06-20 12:20:33.000000000","message":"Actual message now is,\n\nHTTP 404 Not Found: No image found with ID f433471a-53a8-4d31-bf8f-f0b6b594dfc","commit_id":"526a56922f28746f48ded222d48030e3a93d0fdb"},{"author":{"_account_id":5202,"name":"Erno Kuvaja","email":"jokke@usr.fi","username":"jokke"},"change_message_id":"838c6a6681e1dfbe4212d3f208abc19fa0f71cdb","unresolved":false,"context_lines":[{"line_number":13,"context_line":"Error message display when user trying to get the non existing image:"},{"line_number":14,"context_line":"$ glance image-show f433471a-53a8-4d31-bf8f-f0b6b594dfc"},{"line_number":15,"context_line":"Error message:"},{"line_number":16,"context_line":"404 Not Found"},{"line_number":17,"context_line":"No image found with ID f433471a-53a8-4d31-bf8f-f0b6b594dfc"},{"line_number":18,"context_line":"    (HTTP 404)"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"After this fix:"},{"line_number":21,"context_line":"HTTP 404 Not Found: No image found with ID f433471a-53a8-4d31-bf8f-f0b6b594dfc"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Closes-Bug: #1598714"},{"line_number":24,"context_line":"Change-Id: I33971a2a16416c8538158299325471c2a69dbb3e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"1f1a1f67_cb27cbb6","line":21,"range":{"start_line":16,"start_character":0,"end_line":21,"end_character":78},"updated":"2017-07-12 15:48:49.000000000","message":"I\u0027m clearly missing something here. Need to test this out. Based on the change the new message should be:\n\nHTTP 404 Not Found\n\nNo image found with ID f433471a-53a8-4d31-bf8f-f0b6b594dfc\n\nI fail to see where did that line change disappear and where did that \":\" came from. Either this commit message is not accurate or there is something really weird happening in the handling of the details.","commit_id":"3fae0aba142228a0ef5ff316341b8fb4bd6fd6c9"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"e684b2d6cec60a32380105c1708e0a591a1b5a95","unresolved":false,"context_lines":[{"line_number":13,"context_line":"Error message display when user trying to get the non existing image:"},{"line_number":14,"context_line":"$ glance image-show f433471a-53a8-4d31-bf8f-f0b6b594dfc"},{"line_number":15,"context_line":"Error message:"},{"line_number":16,"context_line":"404 Not Found"},{"line_number":17,"context_line":"No image found with ID f433471a-53a8-4d31-bf8f-f0b6b594dfc"},{"line_number":18,"context_line":"    (HTTP 404)"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"After this fix:"},{"line_number":21,"context_line":"HTTP 404 Not Found: No image found with ID f433471a-53a8-4d31-bf8f-f0b6b594dfc"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Closes-Bug: #1598714"},{"line_number":24,"context_line":"Change-Id: I33971a2a16416c8538158299325471c2a69dbb3e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"1f1a1f67_ec6f2bc3","line":21,"range":{"start_line":16,"start_character":0,"end_line":21,"end_character":78},"in_reply_to":"1f1a1f67_cb27cbb6","updated":"2017-07-13 06:11:25.000000000","message":"Hi Erno,\n\nYes commit message needs to be updated. Error message on master is now shown as:\n\n404 Not Found: No image found with ID abcds (HTTP 404)\n\nWhere as after this change it will be shown as:\n\nHTTP 404 Not Found: No image found with ID abcds\n\nError message gets generated in from_response method based on content type in the header and their it is appending \":\" [1] to error message.\n\nWhen this bug was reported at that time content type was json because of which it was adding \\n to error message but now content type has been changed to html.\n\n[1] https://github.com/openstack/python-glanceclient/blob/master/glanceclient/exc.py#L156","commit_id":"3fae0aba142228a0ef5ff316341b8fb4bd6fd6c9"}]}
