you can't use transactions with myisam tables.
change it to innoDB (or another), in which this support is present
On Mar 29, 9:34 am, Ernesto wrote:
> myISAM.
>
> i'll check OrderControllers validation errors
>
> On 26 Mar, 16:18, Lucca Mordente wrote:
>
>
>
> > Maybe your database table engine
myISAM.
i'll check OrderControllers validation errors
On 26 Mar, 16:18, Lucca Mordente wrote:
> Maybe your database table engine does not support transactions.
> What engine are you using?
>
> Lucca Mordente
>
> On 26 mar, 09:28, Ernesto wrote:
>
>
>
> > Hello.
>
> > i have 2 models (Item and O
Maybe your database table engine does not support transactions.
What engine are you using?
Lucca Mordente
On 26 mar, 09:28, Ernesto wrote:
> Hello.
>
> i have 2 models (Item and Order) joined together by a HABTM
> relationship.
> since i need some additional fields (quantity) in the join table i
Check validation errors. If "ItemsOrders" items are validated after
"Order" and fail transaction should be rolled back. Data stays added
as you have non-InnoDB table "orders" that do not support
transactions.
On Mar 26, 6:28 pm, Ernesto wrote:
> Hello.
>
> i have 2 models (Item and Order) joined
Hello.
i have 2 models (Item and Order) joined together by a HABTM
relationship.
since i need some additional fields (quantity) in the join table i
splitted the HABTM in 2x hasMany.
after that i coded a Order add form wich gives me this data array
Array
(
[Order] => Array
(