#1388 new
psilva

Property of type Blob, :lazy => true not working (AppEngine)

Reported by psilva | August 17th, 2010 @ 05:53 PM

I'm using Datamapper in combination with AppEngine. There's the type Blob available. Setting it explicitely to :lazy => true leads to an error. I think this is very low priority... Anyways, the following code works:

class Picture
  include DataMapper::Resource
  
  property :id, Serial
  property :blob, Blob
end

That code does not work:

class Picture
  include DataMapper::Resource
  
  property :id, Serial
  property :blob, Blob, :lazy => true
end

It gives the following error message: http://pastebin.com/3DwnFXS2

My relevant includes are basically:

require 'appengine-rack'
require 'dm-core'
require 'dm-validations'

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket

Pages