You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As it is the final code of the chapter 5, has one slight problem that it creates no entry in the taco_order_tacos table, and hence the link between the taco_order and taco is lost.
This is perhaps happening because the Modelattribute in DesignController always passes a New TacoOrder
@ModelAttribute(name = "order", value = "order")
public TacoOrder order() {
return new TacoOrder();
}
The text was updated successfully, but these errors were encountered:
As it is the final code of the chapter 5, has one slight problem that it creates no entry in the
taco_order_tacos
table, and hence the link between the taco_order and taco is lost.This is perhaps happening because the Modelattribute in DesignController always passes a New TacoOrder
The text was updated successfully, but these errors were encountered: