On Mon, 2010-10-18 at 15:14 +0200, [email protected] wrote:
> From: Jan Provaznik <[email protected]>
>
> https://bugzilla.redhat.com/show_bug.cgi?id=643030
>
> We now check if array of targets is not empty. Also cleaned up build method.
Not sure if this is addressed in some of the later work that was added
in form redo today, but I get the following stack trace in addition tp
the nicer error box at the top (though really this should be a form
error, not a blank page with error text):
ActionView::TemplateError (Called id for nil, which would mistakenly be
4 -- if you really wanted the id of nil, use object_id) on line #2 of
app/views/templates/build_form.haml:
1: %h2 BUILD REQUEST
2: - form_for @image, :url => { :action => "build" } do
3: = hidden_field :image, :template_id
4: %h3 Deployment Definition
5: %fieldset.clearfix
haml (3.0.18) rails/./lib/haml/helpers/action_view_mods.rb:235:in
`form_for'
app/views/templates/build_form.haml:2:in
`_run_haml_app47views47templates47build_form46haml'
haml (3.0.18) rails/./lib/haml/helpers/action_view_mods.rb:13:in
`render'
haml (3.0.18) rails/./lib/haml/helpers/action_view_mods.rb:13:in
`render'
app/controllers/templates_controller.rb:125:in `build'
compass (0.10.4)
lib/compass/app_integration/rails/actionpack2/action_controller.rb:7:in
`process'
haml (3.0.18) rails/./lib/sass/plugin/rack.rb:41:in `call'
haml (3.0.18) rails/./lib/sass/plugin/rack.rb:41:in `call'
_______________________________________________
deltacloud-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/deltacloud-devel