Hi there, thanks for you answer.
I placed the ticket, will see what happens.
https://trac.cakephp.org/ticket/6331
Regards
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send
Trac is the place to add an RFC or enhancement ticket for a future
version. Since 1.2 is still young you might wait a good while but on
the other hand now is the time new features are evaluated... not
during beta.
https://trac.cakephp.org/
On Apr 28, 9:42 pm, rartavia wrote:
> It would be nice
This is how I worked out saving not directly related data using
saveAll in one single Ajax call:
I send the data exactly the same, as in this discussion's first
message, with the non directly related model INSIDE the directly
related model (SectionParts INSIDE data[Section])
data[Denouncement][t
Hello, thanks Martin.
I reviewed saveAll() docs and it explicitly tells it wont work for not
directly associated models.
(http://book.cakephp.org/view/75/Saving-Your-Data)
It would be nice for a future version of cake to have it though. Where
does one submits this kind of "petitions" to cake dev
I don't use saveAll much myself but oen thing you can look into is the
phrasing that explains what it does.
I remember reading that saveAll can save multiple records of a single
model OR one record and multiple related Models. I am not sure it ca
do both at the same time the way you are trying.
I
I'm saving to one main table with several kind of relations by sending
all in a single array via Ajax (jQuery). One is a nested relation,
denouncements (main table) hasMany sections (other-model) which
hasMany section_parts (another-model). Sending to saveAll in a single
array i'm being able to sa