Bugs: Browse | Submit New | Admin

[#23212] TMail fails on folding of file object

Date:
2008-12-13 02:55
Priority:
3
Submitted By:
Mikel Lindsaar (mikel)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
TMail fails on folding of file object

Detailed description
NoMethodError: undefined method `string' for File

I've done a debug and I found that TMail::Encode.add_lwsp method here
====>>> fold if restsize() <= 0 <<<===

call its fold method which try to use string method for File class here:

   def fold
     # puts '---- fold ----'
====>>>   unless @f.string =~ /^.*?:$/ <<<=====
       @f << @eol
       @lwsp = SPACER
         .
         .
but @f is a File object that has no string method.

What should I do on order to solve this issue?

Thank you

Laszlo Kollar

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item