{"action":"created","issue":{"url":"https://api.github.com/repos/propelorm/PropelBundle/issues/365","labels_url":"https://api.github.com/repos/propelorm/PropelBundle/issues/365/labels{/name}","comments_url":"https://api.github.com/repos/propelorm/PropelBundle/issues/365/comments","events_url":"https://api.github.com/repos/propelorm/PropelBundle/issues/365/events","html_url":"https://github.com/propelorm/PropelBundle/issues/365","id":115242819,"number":365,"title":"Debug Panel not working - Key \"defaultConnection\" missing","user":{"login":"Xosofox","id":206212,"avatar_url":"https://avatars.githubusercontent.com/u/206212?v=3","gravatar_id":"","url":"https://api.github.com/users/Xosofox","html_url":"https://github.com/Xosofox","followers_url":"https://api.github.com/users/Xosofox/followers","following_url":"https://api.github.com/users/Xosofox/following{/other_user}","gists_url":"https://api.github.com/users/Xosofox/gists{/gist_id}","starred_url":"https://api.github.com/users/Xosofox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xosofox/subscriptions","organizations_url":"https://api.github.com/users/Xosofox/orgs","repos_url":"https://api.github.com/users/Xosofox/repos","events_url":"https://api.github.com/users/Xosofox/events{/privacy}","received_events_url":"https://api.github.com/users/Xosofox/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-11-05T09:31:34Z","updated_at":"2015-11-05T14:42:35Z","closed_at":null,"body":"When I use the Propel Debug Panel in my project, it breaks with\r\n\r\nKey \"defaultConnection\" for array with keys \"connections, logging, log\" does not exist in PropelBundle:Panel:configuration.html.twig at line 13\r\n\r\nLooks like there is no \"defaultConnection\" that the {{ configuration.runtime.defaultConnection }} can spit out.\r\n\r\nIf I change the source and comment out that part, it works perfectly fine.\r\n\r\nI would really like to fix this and provide a PR, but I am not sure what I am missing - if this is an inconsistency in my config (however, everything else works fine) or an assumption by the view that might not be met in every project?\r\n\r\nAny hint on WHY it expects a \"defaultConnection\" key might help me to provide a PR"},"comment":{"url":"https://api.github.com/repos/propelorm/PropelBundle/issues/comments/154079397","html_url":"https://github.com/propelorm/PropelBundle/issues/365#issuecomment-154079397","issue_url":"https://api.github.com/repos/propelorm/PropelBundle/issues/365","id":154079397,"user":{"login":"marcj","id":450980,"avatar_url":"https://avatars.githubusercontent.com/u/450980?v=3","gravatar_id":"","url":"https://api.github.com/users/marcj","html_url":"https://github.com/marcj","followers_url":"https://api.github.com/users/marcj/followers","following_url":"https://api.github.com/users/marcj/following{/other_user}","gists_url":"https://api.github.com/users/marcj/gists{/gist_id}","starred_url":"https://api.github.com/users/marcj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcj/subscriptions","organizations_url":"https://api.github.com/users/marcj/orgs","repos_url":"https://api.github.com/users/marcj/repos","events_url":"https://api.github.com/users/marcj/events{/privacy}","received_events_url":"https://api.github.com/users/marcj/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T14:42:35Z","updated_at":"2015-11-05T14:42:35Z","body":"```yaml\r\n#Propel config\r\n# define the parameters in app/config/parameters.yml\r\npropel:\r\n    database:\r\n        connections:\r\n            default:\r\n                adapter:    %database_driver%\r\n                user:       %database_user%\r\n                password:   %database_password%\r\n                dsn:        %database_driver%:host=%database_host%;dbname=%database_name%;charset=UTF8\r\n                settings:\r\n                  charset: utf8\r\n    runtime:\r\n        defaultConnection: default\r\n    generator:\r\n        defaultConnection: default\r\n```\r\n\r\nCould you try this please?"}}