We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If an uploaded roster (on the course home page, roster tab) includes a header row and you check the corresponding box, the code fails with:
undefined method `downcase' for nil:NilClass
The relevant stack trace:
/home/codeworkout/rails/releases/20210412123406/app/controllers/course_enrollments_controller.rb:55:in block in roster_upload' /usr/local/rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/csv/parser.rb:1078:in emit_row' /usr/local/rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/csv/parser.rb:827:in block in parse_quotable_loose' /usr/local/rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/csv/parser.rb:31:in block in each_line' /usr/local/rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/csv/parser.rb:28:in each_line' /usr/local/rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/csv/parser.rb:28:in each_line' /usr/local/rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/csv/parser.rb:779:in parse_quotable_loose' /usr/local/rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/csv/parser.rb:303:in parse' /usr/local/rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/csv.rb:1236:in each' /usr/local/rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/csv.rb:1236:in each' /usr/local/rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/csv.rb:681:in parse' /home/codeworkout/rails/releases/20210412123406/app/controllers/course_enrollments_controller.rb:38:in roster_upload'
block in roster_upload' /usr/local/rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/csv/parser.rb:1078:in
block in parse_quotable_loose' /usr/local/rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/csv/parser.rb:31:in
each_line' /usr/local/rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/csv/parser.rb:28:in
parse_quotable_loose' /usr/local/rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/csv/parser.rb:303:in
each' /usr/local/rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/csv.rb:1236:in
parse' /home/codeworkout/rails/releases/20210412123406/app/controllers/course_enrollments_controller.rb:38:in
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If an uploaded roster (on the course home page, roster tab) includes a header row and you check the corresponding box, the code fails with:
undefined method `downcase' for nil:NilClass
The relevant stack trace:
/home/codeworkout/rails/releases/20210412123406/app/controllers/course_enrollments_controller.rb:55:in
block in roster_upload' /usr/local/rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/csv/parser.rb:1078:in
emit_row'/usr/local/rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/csv/parser.rb:827:in
block in parse_quotable_loose' /usr/local/rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/csv/parser.rb:31:in
block in each_line'/usr/local/rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/csv/parser.rb:28:in
each_line' /usr/local/rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/csv/parser.rb:28:in
each_line'/usr/local/rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/csv/parser.rb:779:in
parse_quotable_loose' /usr/local/rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/csv/parser.rb:303:in
parse'/usr/local/rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/csv.rb:1236:in
each' /usr/local/rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/csv.rb:1236:in
each'/usr/local/rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/csv.rb:681:in
parse' /home/codeworkout/rails/releases/20210412123406/app/controllers/course_enrollments_controller.rb:38:in
roster_upload'The text was updated successfully, but these errors were encountered: