{"action":"closed","issue":{"url":"https://api.github.com/repos/RickieES/localizethat/issues/25","labels_url":"https://api.github.com/repos/RickieES/localizethat/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/RickieES/localizethat/issues/25/comments","events_url":"https://api.github.com/repos/RickieES/localizethat/issues/25/events","html_url":"https://github.com/RickieES/localizethat/issues/25","id":97304486,"number":25,"title":"EntityManager instances closed in some maintenance panels","user":{"login":"RickieES","id":4553333,"avatar_url":"https://avatars.githubusercontent.com/u/4553333?v=3","gravatar_id":"","url":"https://api.github.com/users/RickieES","html_url":"https://github.com/RickieES","followers_url":"https://api.github.com/users/RickieES/followers","following_url":"https://api.github.com/users/RickieES/following{/other_user}","gists_url":"https://api.github.com/users/RickieES/gists{/gist_id}","starred_url":"https://api.github.com/users/RickieES/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RickieES/subscriptions","organizations_url":"https://api.github.com/users/RickieES/orgs","repos_url":"https://api.github.com/users/RickieES/repos","events_url":"https://api.github.com/users/RickieES/events{/privacy}","received_events_url":"https://api.github.com/users/RickieES/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"RickieES","id":4553333,"avatar_url":"https://avatars.githubusercontent.com/u/4553333?v=3","gravatar_id":"","url":"https://api.github.com/users/RickieES","html_url":"https://github.com/RickieES","followers_url":"https://api.github.com/users/RickieES/followers","following_url":"https://api.github.com/users/RickieES/following{/other_user}","gists_url":"https://api.github.com/users/RickieES/gists{/gist_id}","starred_url":"https://api.github.com/users/RickieES/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RickieES/subscriptions","organizations_url":"https://api.github.com/users/RickieES/orgs","repos_url":"https://api.github.com/users/RickieES/repos","events_url":"https://api.github.com/users/RickieES/events{/privacy}","received_events_url":"https://api.github.com/users/RickieES/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/RickieES/localizethat/milestones/5","html_url":"https://github.com/RickieES/localizethat/milestones/Trunk","labels_url":"https://api.github.com/repos/RickieES/localizethat/milestones/5/labels","id":1211923,"number":5,"title":"Trunk","description":"This milestone contains issues that don't have scheduled release date. I expect to put here bugs found to be fixed, but for which I don't have a precise milestone in mind.","creator":{"login":"RickieES","id":4553333,"avatar_url":"https://avatars.githubusercontent.com/u/4553333?v=3","gravatar_id":"","url":"https://api.github.com/users/RickieES","html_url":"https://github.com/RickieES","followers_url":"https://api.github.com/users/RickieES/followers","following_url":"https://api.github.com/users/RickieES/following{/other_user}","gists_url":"https://api.github.com/users/RickieES/gists{/gist_id}","starred_url":"https://api.github.com/users/RickieES/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RickieES/subscriptions","organizations_url":"https://api.github.com/users/RickieES/orgs","repos_url":"https://api.github.com/users/RickieES/repos","events_url":"https://api.github.com/users/RickieES/events{/privacy}","received_events_url":"https://api.github.com/users/RickieES/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":2,"state":"open","created_at":"2015-07-16T21:04:29Z","updated_at":"2015-07-26T10:45:20Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-07-26T10:04:25Z","updated_at":"2015-07-26T10:45:20Z","closed_at":"2015-07-26T10:45:20Z","body":"Opening some manager panels (LocaleManager, ProductManager, ChannelManager, maybe others), closing it and trying to reopen triggers a IllegalStateException due to the EntityManager being closed.\r\n\r\nThis is because we close the EntityManager after hiding the panel, to ensure that all changes are dumped to database and not in cache, so other instances can see them. We need to check if the EntityManager is open (perhaps using the onTabPanelAdded methods)."}}