)]}'
{"openstack_dashboard/settings.py":[{"author":{"_account_id":1816,"name":"Gabriel Hurley","email":"gabriel.hurley@nebula.com","username":"gabriel-hurley"},"change_message_id":"1d5d40df74df72111d6e380f0293fad2fd6e7785","unresolved":false,"context_lines":[{"line_number":182,"context_line":"    from local.local_settings import *  # noqa"},{"line_number":183,"context_line":"except ImportError:"},{"line_number":184,"context_line":"    logging.warning(\"No local_settings file found.\")"},{"line_number":185,"context_line":"#monkeypatch auth work"},{"line_number":186,"context_line":"from openstack_auth.utils import patch_middleware_get_user"},{"line_number":187,"context_line":"patch_middleware_get_user()"},{"line_number":188,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAARn%2F%2F4JU%3D","line":185,"updated":"2013-08-20 19:58:49.000000000","message":"Why did you add this? This already happens elsewhere and has not been a problem (to the best of my knowledge). It is unrelated to the bug being fixed and seemingly unnecessary.","commit_id":"a251a91a655ecb6be24ed3d9a670a65ba3a29559"},{"author":{"_account_id":6650,"name":"Eric Peterson","email":"ejpetey@gmail.com","username":"ericpeterson-l"},"change_message_id":"7f3117e7da9f71b08069644a8cce1b8fe4d36a41","unresolved":false,"context_lines":[{"line_number":182,"context_line":"    from local.local_settings import *  # noqa"},{"line_number":183,"context_line":"except ImportError:"},{"line_number":184,"context_line":"    logging.warning(\"No local_settings file found.\")"},{"line_number":185,"context_line":"#monkeypatch auth work"},{"line_number":186,"context_line":"from openstack_auth.utils import patch_middleware_get_user"},{"line_number":187,"context_line":"patch_middleware_get_user()"},{"line_number":188,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAARn%2F%2F3d0%3D","line":185,"in_reply_to":"AAAARn%2F%2F4JU%3D","updated":"2013-08-20 23:28:46.000000000","message":"This happens when running the server in a developer mode.  When you have a valid active session, and make a change where django reloads.....  in that case the auth stuff does not get monkey patched in time and the server will fail to respond to requests to that active session (until someone else goes back through the login process and the monkey patch gets applied again).\n\nThe related change included here tries to access the request\u0027s user info and the auth package is not monkey patched in time.\n\nThis change forces that monkey patch to get applied earlier and consistently works in the scenario above.\n\nI didn\u0027t care much for this approach either, but couldn\u0027t find another way to make this work correctly 100% of the time.   There is a related change in the auth project that should also make this problem go away with more cautious error handling.","commit_id":"a251a91a655ecb6be24ed3d9a670a65ba3a29559"},{"author":{"_account_id":8648,"name":"Radomir Dopieralski","email":"openstack@dopieralski.pl","username":"thesheep"},"change_message_id":"e380decbfeff29387573312a5b51dab309d03f97","unresolved":false,"context_lines":[{"line_number":257,"context_line":"patch below will not otherwise be applied in time - resulting in developers"},{"line_number":258,"context_line":"appearing to be logged out.  In typical production deployments this section"},{"line_number":259,"context_line":"below may be ommited, though it should not be harmful"},{"line_number":260,"context_line":"\"\"\""},{"line_number":261,"context_line":"from openstack_auth import utils as auth_utils"},{"line_number":262,"context_line":"auth_utils.patch_middleware_get_user()"}],"source_content_type":"text/x-python","patch_set":5,"id":"AAAAVn%2F%2FahI%3D","line":260,"updated":"2014-03-06 08:12:48.000000000","message":"Please don\u0027t use free-floating strings in place of comments.","commit_id":"01b82190bfb3799a9965e4807a35f30eb5502a41"}]}
