Saving a model with the primary key as varchar(32) is possible.  You
should show your work.  Please pastebin what you have.

On Jun 21, 8:18 am, "[email protected]" <[email protected]> wrote:
> i tried do save save a model which primary is a varchar (32). Nothing
> special
>
> When i call save() it throws me a fatal error
>
> On 21 Jun., 15:00, "[email protected]" <[email protected]> wrote:
>
> > First when i want to save a record it throws me an error on libs/model/
> > model.php on line 976.
> > I edit this core file to the following:
>
> > if ($model != $this->alias && isset($this->{$model}) &&
> > is_object($this->{$model})) {
> >                         return $this->{$model}->getColumnType($column);
> >                 }
>
> > now it works, can anybody tell me if this is a bug?
>
>

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to