dellcloudedge/crowbar — Issue #26: Delete proposal is re-directed to 404
Author: erichelgeson
Created: 2011-11-14 03:52:18+00:00
State: open

When deleting a proposal, the browser is redirected to:

http://192.168.124.10:3000/crowbar/nova/1.0/proposals/proposal

which gives a blank 404, no default page.

Log:
Nov 13 15:42:39 admin crowbar_app[1498]: Destroying data bag item: bc-nova-proposal - 6
Nov 13 15:42:39 admin crowbar_app[1497]: Completed in 65ms (View: 1 | 200 OK [http://192.168.124.10/crowbar/nova/1.0/proposals/status/nova_proposal]
Nov 13 15:42:39 admin crowbar_app[1498]: Done removal of data bag item: bc-nova-proposal - 6
Nov 13 15:42:39 admin crowbar_app[1498]: Redirected to http://192.168.124.10:3000/crowbar/nova/1.0/proposals/proposal
Nov 13 15:42:39 admin crowbar_app[1498]: Completed in 103ms | 302 Found [http://192.168.124.10/crowbar/nova/1.0/proposals/proposal]
Nov 13 15:42:39 admin crowbar_app[1497]: Processing NovaController#proposal_show (for 192.168.124.1 at 2011-11-13 15:42:39) [GET]
Nov 13 15:42:39 admin crowbar_app[1497]: Parameters: {"id"=>"proposal"}
Nov 13 15:42:39 admin crowbar_app[1497]: Could not recover Chef Crowbar Data on load bc-nova-proposal: #
Nov 13 15:42:39 admin crowbar_app[1497]: Completed in 28ms (View: 0 | 404 Not Found [http://192.168.124.10/crowbar/nova/1.0/proposals/proposal]

When you enter in crowbar's default url it gives a 500, then you refresh again and it flashes:
"undefined local variable or method `barclamp_proposals_barclamp_path' for #"

Let me know if you need more info.