Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Base64 does not get cast for ActiveRecord objects when using XMLRPC AWS.

#2216

This is similar to the (old) ticket:

http://dev.rubyonrails.org/ticke...

SO I realize that this may not be the "appropriate" place to put this, as AWS is no longer packaged with rails. But on the offchance someone here would like to track this, here is the issue:

Using XMLRPC, I'm returning a Track object, defined by this schema:

create_table "tracks", :force => true do |t|

t.string   "name"
t.integer  "user_id",       :limit => 11
t.binary   "track_data"
t.binary   "warn_data"
t.boolean  "published"
t.datetime "created_at"
t.datetime "updated_at"
t.integer  "background_id", :limit => 11

end

It works great... except that AWS 2.1.0 (from datanoise - http://github.com/datanoise/acti... is returning my binary data in the structured object (ActiveRecord::Base object) as a String instead of Base64. It is being returned as datadatadata.

I realize that XMLRPC and SOAP are kind of like Rails' red-headed step children, but some of us are stuck with them for reasons outside our control... :(

Reported by Steve · March 11th, 2009 @ 06:34 PM

State: invalid
Milestone: 2.x
Assigned to: Ryan Bigg Ryan Bigg
Importance: none

Activity

  1. David Trasbo
    David Trasbo
    • Assigned user set to Ryan Bigg

    Unrelated to Rails. Can be marked as invalid.

    April 15th, 2010 @ 07:41 PM

  2. Ryan Bigg
    Ryan Bigg
    • State changed from new to invalid

    Seems like a bug in the plugin rather than Rails.

    April 15th, 2010 @ 10:58 PM