[ruby-core:82008] [Ruby trunk Bug#13738][Third Party's Issue] Active Scaffold image upload using CarrierWave gem

From: takashikkbn@...
Date: 2017-07-12 10:00:21 UTC
List: ruby-core #82008
Issue #13738 has been updated by k0kubun (Takashi Kokubun).

Status changed from Open to Third Party's Issue

Did you see https://github.com/carrierwaveuploader/carrierwave/issues/1404?
As far as I can see from your description, it's unlikely to be a bug in Ruby-side. Please confirm the issue and then could you report it to carrierwave or Rails?

----------------------------------------
Bug #13738: Active Scaffold image upload using CarrierWave gem
https://bugs.ruby-lang.org/issues/13738#change-65739

* Author: karanamsandhya (Karanam Sandhya)
* Status: Third Party's Issue
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 2.3.1
* Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
getting Encoding::UndefinedConversionError ("\xFF" from ASCII-8BIT to UTF-8): this error while uploding the image. and image params are like this:

"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fbcc2925c80 @tempfile=#<Tempfile:/tmp/RackMultipart20170712-7555-c67kvs.jpg>, @original_filename="1.jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"record[photo]\"; filename=\"1.jpg\"\r\nContent-Type: image/jpeg\r\n">




-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next