)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":15554,"name":"Bence Romsics","email":"bence.romsics@gmail.com","username":"ebenrom","status":"inactive contributor"},"change_message_id":"596f2d9b9695c3aa168eb4d2913ae0b33a47fd83","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Lajos Katona \u003clajos.katona@ericsson.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2017-07-07 09:13:44 +0200"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Hide forewer spinner in case of load problem"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"The routed-details-view uses a modal spinner to wait for the loading of"},{"line_number":10,"context_line":"elements to the view. If the loading of the resource fails (i.e.: when"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"1f1a1f67_f0903998","line":7,"range":{"start_line":7,"start_character":5,"end_line":7,"end_character":12},"updated":"2017-07-12 13:17:23.000000000","message":"typo: forever","commit_id":"37925872a7ecd78aba9bf04b4352239e83a5ad44"},{"author":{"_account_id":8313,"name":"Lajos Katona","display_name":"lajoskatona","email":"katonalala@gmail.com","username":"elajkat","status":"Ericsson Software Technology"},"change_message_id":"5bc1dda61c1737dc677f77973cf9c76afb244960","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Lajos Katona \u003clajos.katona@ericsson.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2017-07-07 09:13:44 +0200"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Hide forewer spinner in case of load problem"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"The routed-details-view uses a modal spinner to wait for the loading of"},{"line_number":10,"context_line":"elements to the view. If the loading of the resource fails (i.e.: when"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"1f1a1f67_16512363","line":7,"range":{"start_line":7,"start_character":5,"end_line":7,"end_character":12},"in_reply_to":"1f1a1f67_f0903998","updated":"2017-07-17 07:21:49.000000000","message":"Done","commit_id":"37925872a7ecd78aba9bf04b4352239e83a5ad44"},{"author":{"_account_id":15554,"name":"Bence Romsics","email":"bence.romsics@gmail.com","username":"ebenrom","status":"inactive contributor"},"change_message_id":"596f2d9b9695c3aa168eb4d2913ae0b33a47fd83","unresolved":false,"context_lines":[{"line_number":11,"context_line":"the item is deleted from the detail view) the spinner remains there."},{"line_number":12,"context_line":"This patch handles this error condition and hides the spinner."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Partially-Implements: blueprint neutron-trunk-ui"},{"line_number":15,"context_line":"Change-Id: I29c9a137d4b30628c485ef003928190dd15b9e77"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"1f1a1f67_b0d1a15a","line":14,"range":{"start_line":14,"start_character":0,"end_line":14,"end_character":48},"updated":"2017-07-12 13:17:23.000000000","message":"I\u0027m not sure if this patch is really part of the blueprint work or a standalone bugfix instead.","commit_id":"37925872a7ecd78aba9bf04b4352239e83a5ad44"},{"author":{"_account_id":8313,"name":"Lajos Katona","display_name":"lajoskatona","email":"katonalala@gmail.com","username":"elajkat","status":"Ericsson Software Technology"},"change_message_id":"5bc1dda61c1737dc677f77973cf9c76afb244960","unresolved":false,"context_lines":[{"line_number":11,"context_line":"the item is deleted from the detail view) the spinner remains there."},{"line_number":12,"context_line":"This patch handles this error condition and hides the spinner."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Partially-Implements: blueprint neutron-trunk-ui"},{"line_number":15,"context_line":"Change-Id: I29c9a137d4b30628c485ef003928190dd15b9e77"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"1f1a1f67_d64a8baa","line":14,"range":{"start_line":14,"start_character":0,"end_line":14,"end_character":48},"in_reply_to":"1f1a1f67_b0d1a15a","updated":"2017-07-17 07:21:49.000000000","message":"Done","commit_id":"37925872a7ecd78aba9bf04b4352239e83a5ad44"},{"author":{"_account_id":15554,"name":"Bence Romsics","email":"bence.romsics@gmail.com","username":"ebenrom","status":"inactive contributor"},"change_message_id":"590c3f05a09ec9f6d73f5a444c3008b8073a7e18","unresolved":false,"context_lines":[{"line_number":11,"context_line":"the item is deleted from the detail view) the spinner remains there."},{"line_number":12,"context_line":"This patch handles this error condition and hides the spinner."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Partially-Implements: blueprint neutron-trunk-ui"},{"line_number":15,"context_line":"Change-Id: I29c9a137d4b30628c485ef003928190dd15b9e77"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"1f1a1f67_fd4a297e","line":14,"range":{"start_line":14,"start_character":0,"end_line":14,"end_character":48},"in_reply_to":"1f1a1f67_b0d1a15a","updated":"2017-07-13 12:18:16.000000000","message":"Here\u0027s a bug report for it:\n\nCloses-Bug: #1704118","commit_id":"37925872a7ecd78aba9bf04b4352239e83a5ad44"},{"author":{"_account_id":8313,"name":"Lajos Katona","display_name":"lajoskatona","email":"katonalala@gmail.com","username":"elajkat","status":"Ericsson Software Technology"},"change_message_id":"5bc1dda61c1737dc677f77973cf9c76afb244960","unresolved":false,"context_lines":[{"line_number":11,"context_line":"the item is deleted from the detail view) the spinner remains there."},{"line_number":12,"context_line":"This patch handles this error condition and hides the spinner."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Partially-Implements: blueprint neutron-trunk-ui"},{"line_number":15,"context_line":"Change-Id: I29c9a137d4b30628c485ef003928190dd15b9e77"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"1f1a1f67_76d177cd","line":14,"range":{"start_line":14,"start_character":0,"end_line":14,"end_character":48},"in_reply_to":"1f1a1f67_fd4a297e","updated":"2017-07-17 07:21:49.000000000","message":"Thanks","commit_id":"37925872a7ecd78aba9bf04b4352239e83a5ad44"},{"author":{"_account_id":15554,"name":"Bence Romsics","email":"bence.romsics@gmail.com","username":"ebenrom","status":"inactive contributor"},"change_message_id":"9e2f22d5035189fa366fd5e08ef47edee8a3bfde","unresolved":false,"context_lines":[{"line_number":9,"context_line":"The routed-details-view uses a modal spinner to wait for the loading of"},{"line_number":10,"context_line":"elements to the view. If the loading of the resource fails (i.e.: when"},{"line_number":11,"context_line":"the item is deleted from the detail view) the spinner remains there."},{"line_number":12,"context_line":"This patch handles this error condition and hides the spinner."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Closes-Bug: #1704118"},{"line_number":15,"context_line":"Change-Id: I29c9a137d4b30628c485ef003928190dd15b9e77"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"1f1a1f67_7f3143ec","line":12,"updated":"2017-07-14 12:37:14.000000000","message":"Does this patch also fix the other two error messages from the bug report?","commit_id":"e433c96425f6fc677c8875691221e3fb24369ce6"},{"author":{"_account_id":8313,"name":"Lajos Katona","display_name":"lajoskatona","email":"katonalala@gmail.com","username":"elajkat","status":"Ericsson Software Technology"},"change_message_id":"ae1c9916fef26c9255e2c7a9e80465d204dc15a9","unresolved":false,"context_lines":[{"line_number":9,"context_line":"The routed-details-view uses a modal spinner to wait for the loading of"},{"line_number":10,"context_line":"elements to the view. If the loading of the resource fails (i.e.: when"},{"line_number":11,"context_line":"the item is deleted from the detail view) the spinner remains there."},{"line_number":12,"context_line":"This patch handles this error condition and hides the spinner."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Closes-Bug: #1704118"},{"line_number":15,"context_line":"Change-Id: I29c9a137d4b30628c485ef003928190dd15b9e77"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"1f1a1f67_ef9b3c15","line":12,"in_reply_to":"1f1a1f67_7f3143ec","updated":"2017-07-17 07:21:24.000000000","message":"No, actually it solves only the forever spinning spinner. From horizon angular framework as I see I can\u0027t handle the red toast message and the http 500 in the js console.","commit_id":"e433c96425f6fc677c8875691221e3fb24369ce6"}],"horizon/static/framework/widgets/details/routed-details-view.controller.js":[{"author":{"_account_id":11885,"name":"Ying Zuo","email":"yingzuo4@gmail.com","username":"yingzuo"},"change_message_id":"64e41548181fadd487cb3779b0908c8ca95567e3","unresolved":false,"context_lines":[{"line_number":62,"context_line":"    function handleLoadException() {"},{"line_number":63,"context_line":"      // The loading of the resource failed for some reason, so"},{"line_number":64,"context_line":"      // to avoid the forever hanging spinner, hide it."},{"line_number":65,"context_line":"      spinnerService.hideModalSpinner();"},{"line_number":66,"context_line":"    }"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"    function actionSuccessHandler(result) {"}],"source_content_type":"text/javascript","patch_set":4,"id":"1f1a1f67_6f6548e1","line":65,"updated":"2017-07-21 04:48:13.000000000","message":"I think the correct fix is to redirect to the resource\u0027s index page when exception 404 occurs. That will fix all three issues mentioned on the bug report.","commit_id":"40be14eb942a9860acfc10d33fcfcd2bd298754c"},{"author":{"_account_id":8313,"name":"Lajos Katona","display_name":"lajoskatona","email":"katonalala@gmail.com","username":"elajkat","status":"Ericsson Software Technology"},"change_message_id":"a49c899adea8713fe110125daac29ebde324af39","unresolved":false,"context_lines":[{"line_number":62,"context_line":"    function handleLoadException() {"},{"line_number":63,"context_line":"      // The loading of the resource failed for some reason, so"},{"line_number":64,"context_line":"      // to avoid the forever hanging spinner, hide it."},{"line_number":65,"context_line":"      spinnerService.hideModalSpinner();"},{"line_number":66,"context_line":"    }"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"    function actionSuccessHandler(result) {"}],"source_content_type":"text/javascript","patch_set":4,"id":"1f1a1f67_7272c313","line":65,"in_reply_to":"1f1a1f67_6f6548e1","updated":"2017-07-21 11:07:34.000000000","message":"Hi, The problem is that the console error log is handled in horizon.framework.util.http.service, the error toast is handled from horizon.app.core.openstack-service-api.glance, and the spinner is managed from horizon.framework.widgets.details.RoutedDetailsViewController.\nSo everything happens now in different levels....\n\n# I can hide the spinner in the RoutedDetailsViewController\n# I can redirect back from horizon.app.core.images.service to the list view (in case of images, of course if other resource is affected the redirect should happen in the necessary service) if I understand correctly how the whole framework works.\n# And actually I can\u0027t do anything with the error toast and the error console, because these levels of the framework can\u0027t have idea what happened before the http GET (a DELETE for example).\n\nAny help is appreciated.","commit_id":"40be14eb942a9860acfc10d33fcfcd2bd298754c"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"ee6d4b557a9e89c6ddeb3dfa6d4fea90018c029b","unresolved":false,"context_lines":[{"line_number":62,"context_line":"    function handleLoadException() {"},{"line_number":63,"context_line":"      // The loading of the resource failed for some reason, so"},{"line_number":64,"context_line":"      // to avoid the forever hanging spinner, hide it."},{"line_number":65,"context_line":"      spinnerService.hideModalSpinner();"},{"line_number":66,"context_line":"    }"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"    function actionSuccessHandler(result) {"}],"source_content_type":"text/javascript","patch_set":4,"id":"ff346bd7_c75de015","line":65,"in_reply_to":"1f1a1f67_7272c313","updated":"2017-07-27 08:15:08.000000000","message":"Agree with Lajos. Redirecting to list view should be done by service for delete action and this service itself doesn\u0027t know where should go. For this controller, it\u0027s enough to show message on toast from load service (e.g. getImage), I think.","commit_id":"40be14eb942a9860acfc10d33fcfcd2bd298754c"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"fc2b0b1dade88c962526631758859d7b9f2d5eb8","unresolved":false,"context_lines":[{"line_number":62,"context_line":"    function handleLoadException() {"},{"line_number":63,"context_line":"      // The loading of the resource failed for some reason, so"},{"line_number":64,"context_line":"      // to avoid the forever hanging spinner, hide it."},{"line_number":65,"context_line":"      spinnerService.hideModalSpinner();"},{"line_number":66,"context_line":"    }"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"    function actionSuccessHandler(result) {"}],"source_content_type":"text/javascript","patch_set":4,"id":"9f436f4f_ffc0eb52","line":65,"in_reply_to":"ff346bd7_c75de015","updated":"2017-08-09 03:22:21.000000000","message":"@Lajos: Fixing stucked UI is much better than terrible UX, I think. However regardless of behavior after deletion, e.g. clicking URL of the details view for the resouce which someone remove it before, loading of lacking resource may occur same issue. To redirect index view, we should add URL for the index view into resource-type-registry service (like defaultDetailsTemplateUrl , also setter and getter on https://github.com/openstack/horizon/blob/master/horizon/static/framework/conf/resource-type-registry.service.js#L644 ), then get the URL from resource-type-registry service and redirect from here to it.","commit_id":"40be14eb942a9860acfc10d33fcfcd2bd298754c"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"31a3ae82ce2191d0e41482070cb079131d10034a","unresolved":false,"context_lines":[{"line_number":63,"context_line":"      // The loading of the resource failed for some reason, so"},{"line_number":64,"context_line":"      // to avoid the forever hanging spinner, hide it."},{"line_number":65,"context_line":"      spinnerService.hideModalSpinner();"},{"line_number":66,"context_line":"    }"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"    function actionSuccessHandler(result) {"},{"line_number":69,"context_line":"      // The action has completed (for whatever \"complete\" means to that"}],"source_content_type":"text/javascript","patch_set":5,"id":"7f287b81_13ee84b3","line":66,"updated":"2017-08-29 06:53:10.000000000","message":"how about adding history.back() like your another patch?","commit_id":"43523da47cbe71330b7227e6f14cdcde715f3c75"},{"author":{"_account_id":8313,"name":"Lajos Katona","display_name":"lajoskatona","email":"katonalala@gmail.com","username":"elajkat","status":"Ericsson Software Technology"},"change_message_id":"8f6d95376bdc8f37cea36254f718a27425bfc2c1","unresolved":false,"context_lines":[{"line_number":63,"context_line":"      // The loading of the resource failed for some reason, so"},{"line_number":64,"context_line":"      // to avoid the forever hanging spinner, hide it."},{"line_number":65,"context_line":"      spinnerService.hideModalSpinner();"},{"line_number":66,"context_line":"    }"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"    function actionSuccessHandler(result) {"},{"line_number":69,"context_line":"      // The action has completed (for whatever \"complete\" means to that"}],"source_content_type":"text/javascript","patch_set":5,"id":"7f287b81_b0d18232","line":66,"in_reply_to":"7f287b81_13ee84b3","updated":"2017-09-01 11:11:45.000000000","message":"It was asked to do  the redirect higher in the hierarchy, and not in the bottom of the framework.","commit_id":"43523da47cbe71330b7227e6f14cdcde715f3c75"}]}
