#1026 ✓resolved
deepfryed

Text primitive missing - causes issues with Csv type

Reported by deepfryed | September 4th, 2009 @ 05:59 PM

Csv inherits from Text primitive and this is failing validation in property.rb

e.g.

class Location
  include DataMapper::Resource

  property :id, String, :key => true
  property :name, String
  property :zones, Csv

end
.gem/ruby/1.8/gems/dm-core-0.10.0/lib/dm-core/property.rb:818:in `initialize': +type+ was DataMapper::Types::Csv, which is not a supported type (ArgumentError)

Comments and changes to this ticket

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 »

Tags

Pages