I'm getting ready to explore AJAX so I created what I thought was the
most basic application possible.  It is a task manager with one table
consisting of two columns.  Just to get things up and running quickly
I created the model and a controller using scaffolding.  When creating
a new entry int the task table I get the error:

Warning (512): SQL Error: 1110: Column 'id' specified twice [CORE\cake
\libs\model\datasources\dbo_source.php, line 440]

Checked trac and didn't find it listed.  This makes me think I did
something wrong even if the application to this point seems to simple
to have any problems.  Is this an unreported bug or something I am
doing wrong?

James

CREATE TABLE `tasks` (
  `id` char(36) NOT NULL,
  `name` varchar(50) NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;


class Task extends AppModel {

        public $name = 'Task';

}

class TasksController extends AppController {
    public $scaffold;
}

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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