{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/3441","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/3441/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/3441/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/3441/events","html_url":"https://github.com/ManageIQ/manageiq/issues/3441","id":94948297,"number":3441,"title":"toolbar builder fails when a page has no toolbars","user":{"login":"abonas","id":6277245,"avatar_url":"https://avatars.githubusercontent.com/u/6277245?v=3","gravatar_id":"","url":"https://api.github.com/users/abonas","html_url":"https://github.com/abonas","followers_url":"https://api.github.com/users/abonas/followers","following_url":"https://api.github.com/users/abonas/following{/other_user}","gists_url":"https://api.github.com/users/abonas/gists{/gist_id}","starred_url":"https://api.github.com/users/abonas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abonas/subscriptions","organizations_url":"https://api.github.com/users/abonas/orgs","repos_url":"https://api.github.com/users/abonas/repos","events_url":"https://api.github.com/users/abonas/events{/privacy}","received_events_url":"https://api.github.com/users/abonas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/ui","name":"ui","color":"5319e7"}],"state":"open","locked":false,"assignee":{"login":"martinpovolny","id":51095,"avatar_url":"https://avatars.githubusercontent.com/u/51095?v=3","gravatar_id":"","url":"https://api.github.com/users/martinpovolny","html_url":"https://github.com/martinpovolny","followers_url":"https://api.github.com/users/martinpovolny/followers","following_url":"https://api.github.com/users/martinpovolny/following{/other_user}","gists_url":"https://api.github.com/users/martinpovolny/gists{/gist_id}","starred_url":"https://api.github.com/users/martinpovolny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinpovolny/subscriptions","organizations_url":"https://api.github.com/users/martinpovolny/orgs","repos_url":"https://api.github.com/users/martinpovolny/repos","events_url":"https://api.github.com/users/martinpovolny/events{/privacy}","received_events_url":"https://api.github.com/users/martinpovolny/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2015-07-14T13:45:50Z","updated_at":"2015-07-14T15:00:33Z","closed_at":null,"body":"I'm working on adding a new UI page to ManageIQ (for topology)\r\nIt doesn't have a yaml file representing it and currently no toolbars at all, so the toolbar builder fails with exception and the page cannot be displayed.\r\n(it worked before I rebased on the latest toolbar builder code)\r\n\r\n[----] I, [2015-07-13T18:49:21.425520 #29870:3ea2a60]  INFO -- :   Rendered container_topology/show.html within layouts/application (0.2ms)\r\n[----] I, [2015-07-13T18:49:21.437552 #29870:3ea2a60]  INFO -- :   Rendered stylesheets/_template50.html.haml (0.4ms)\r\n[----] I, [2015-07-13T18:49:21.451628 #29870:3ea2a60]  INFO -- :   Rendered layouts/_global_header.html.haml (25.2ms)\r\n[----] I, [2015-07-13T18:49:24.495486 #29870:3ea2a60]  INFO -- :   Rendered layouts/_user_options.html.haml (41.7ms)\r\n[----] I, [2015-07-13T18:49:24.571106 #29870:3ea2a60]  INFO -- :   Rendered layouts/_page_header_navbar.html.haml (74.7ms)\r\n[----] I, [2015-07-13T18:49:24.572152 #29870:3ea2a60]  INFO -- :   Rendered layouts/_spinner.html.haml (0.1ms)\r\n[----] I, [2015-07-13T18:49:24.712017 #29870:3ea2a60]  INFO -- :   Rendered layouts/_lightbox_panel.html.haml (0.1ms)\r\n[----] I, [2015-07-13T18:49:24.712160 #29870:3ea2a60]  INFO -- :   Rendered layouts/_page_header.html.haml (3259.3ms)\r\n[----] I, [2015-07-13T18:49:24.791847 #29870:3ea2a60]  INFO -- :   Rendered layouts/_dhtmlx_tags.html.haml (1.5ms)\r\n[----] I, [2015-07-13T18:49:24.799967 #29870:3ea2a60]  INFO -- :   Rendered layouts/_dhtmlxtoolbar.html.haml (49.5ms)\r\n[----] I, [2015-07-13T18:49:24.800083 #29870:3ea2a60]  INFO -- :   Rendered layouts/_center_buttons.html.haml (77.2ms)\r\n[----] I, [2015-07-13T18:49:24.800172 #29870:3ea2a60]  INFO -- :   Rendered layouts/_taskbar.html.haml (78.2ms)\r\n[----] I, [2015-07-13T18:49:24.800269 #29870:3ea2a60]  INFO -- :   Rendered layouts/_page_center.html.haml (87.4ms)\r\n[----] I, [2015-07-13T18:49:24.800353 #29870:3ea2a60]  INFO -- :   Rendered layouts/_page.html.haml (3348.1ms)\r\n[----] F, [2015-07-13T18:49:24.800578 #29870:3ea2a60] FATAL -- : Error caught: [Errno::ENOENT] No such file or directory - /home/manageiq/product/toolbars/container_topology_center_tb.yaml\r\n/home/manageiq/app/helpers/application_helper/toolbar_builder.rb:34:in `initialize'\r\n/home/manageiq/app/helpers/application_helper/toolbar_builder.rb:34:in `open'\r\n/home/manageiq/app/helpers/application_helper/toolbar_builder.rb:34:in `build_toolbar_buttons_and_xml'\r\n/home/manageiq/app/helpers/application_helper/toolbar_builder.rb:3:in `call'\r\n/home/manageiq/app/helpers/application_helper.rb:266:in `build_toolbar_buttons_and_xml'"},"comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments/121273652","html_url":"https://github.com/ManageIQ/manageiq/issues/3441#issuecomment-121273652","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/3441","id":121273652,"user":{"login":"matthewd","id":1034,"avatar_url":"https://avatars.githubusercontent.com/u/1034?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewd","html_url":"https://github.com/matthewd","followers_url":"https://api.github.com/users/matthewd/followers","following_url":"https://api.github.com/users/matthewd/following{/other_user}","gists_url":"https://api.github.com/users/matthewd/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewd/subscriptions","organizations_url":"https://api.github.com/users/matthewd/orgs","repos_url":"https://api.github.com/users/matthewd/repos","events_url":"https://api.github.com/users/matthewd/events{/privacy}","received_events_url":"https://api.github.com/users/matthewd/received_events","type":"User","site_admin":false},"created_at":"2015-07-14T15:00:33Z","updated_at":"2015-07-14T15:00:33Z","body":"@abonas the ToolbarBuilder is a trivial extraction of identical code from the ApplicationHelper module... I'm not sure why it would work differently at all.\r\n\r\nCan you publish a branch with your rebased changes? (and your pre-rebase version, ideally)"}}