TheProjecter / ruby-msg

Automatically exported from code.google.com/p/ruby-msg
MIT License
0 stars 0 forks source link

undefined method 'empty?' for nill:NilClass #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Attempt to convert a .msg file that was a JIRA attachment

What is the expected output? What do you see instead?

converted eml file
/lib/mapi/convert/note-mime.rb:90:in `populate_headers': undefined method 
`empty?' for nil:NilClass (NoMethodError)

What version of the product are you using? On what operating system?
1.4.0 Kubuntu Lucid

Please provide any additional information below.

Changing the line 90 unless clause to unless recips.nil? || recips.empty? 
fixed the issue. 

Original issue reported on code.google.com by john.llo...@gmail.com on 7 Jul 2010 at 7:25

GoogleCodeExporter commented 8 years ago
Same issue on Ubuntu Maverick, same fix worked.

Original comment by mathieu....@gmail.com on 4 Mar 2011 at 9:43

GoogleCodeExporter commented 8 years ago
This was fixed a few years ago but a new version had never been released. I've 
now released 1.5.0 which contains this fix.

Original comment by aquas...@gmail.com on 18 May 2011 at 11:44