What steps will reproduce the problem?
1. Import a new batch
2. Review batch and delete some citations from the list.
3. Return to approve the batch
What is the expected output? What do you see instead?
Expect to see the list of remaining imported citations waiting for
approval. Instead, I get a 500 error in the ui and the error reported below.
What version of the product are you using? On what operating system?
SVN trunk on Solaris 10, Ruby EE 2010.01 1.8.7,
*** LOCAL GEMS ***
actionmailer (2.3.5)
actionpack (2.3.5)
activerecord (2.3.5)
activeresource (2.3.5)
activesupport (2.3.5)
cmess (0.1.2.288)
daemons (1.0.10)
fastthread (1.0.7)
haml (2.2.22)
hpricot (0.8.2)
htmlentities (4.0.0)
isbn-tools (0.1.0)
libxml-ruby (0.8.3)
mislav-will_paginate (2.3.11)
namecase (1.1.0)
passenger (2.2.11)
pg (0.8.0)
rack (1.0.1)
rails (2.3.5)
rake (0.8.7)
RedCloth (4.1.9)
ruby-net-ldap (0.0.4)
ruby-nuggets (0.6.2)
rubygems-update (1.3.6)
rubyist-aasm (2.0.7)
rubyzip (0.9.4)
solr-ruby (0.0.8)
Please provide any additional information below.
#<ActionView::TemplateError:
ActionView::TemplateError (undefined method `name_strings' for
nil:NilClass) on line #151 of app/views/imports/show.html.haml:
148: / PenName matches
149: %div.left.append-1
150: %ul#import_names{:style => "padding:0; margin:0;"}
151: -@import.name_string_work_count.sort.inspect
152: - @import.name_string_work_count.sort.each do |ns|
153: = import_name_string_line(ns, @person)
154:
app/models/import.rb:267:in `name_string_work_count'
app/models/import.rb:266:in `each'
app/models/import.rb:266:in `name_string_work_count'
app/views/imports/show.html.haml:151:in
`_run_haml_app47views47imports47show46html46haml'
haml (2.2.22) lib/haml/helpers/action_view_mods.rb:13:in `render'
haml (2.2.22) lib/haml/helpers/action_view_mods.rb:13:in `render'
haml (2.2.22) lib/sass/plugin/rails.rb:20:in `process'
Original issue reported on code.google.com by stirnam...@gmail.com on 19 Apr 2010 at 6:47
Original issue reported on code.google.com by
stirnam...@gmail.com
on 19 Apr 2010 at 6:47