sheevazz / searchable-behaviour-for-cakephp

Automatically exported from code.google.com/p/searchable-behaviour-for-cakephp
0 stars 0 forks source link

Doesn't index properly when saving two models at once with saveAll #19

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Have a controller that uses two models
2. If you are saving data to two models at once using saveAll
3. Both models using Searchable

What is the expected output? What do you see instead?
Expect two entries in SearchIndex, one for each model. Instead you only get
one which has an empty data field.

What version of the product are you using? On what operating system?
Using Cake 1.2.3.8166 on Windows XP using WAMP

Please provide any additional information below.

Original issue reported on code.google.com by derekmer...@gmail.com on 8 Jul 2009 at 11:20

GoogleCodeExporter commented 9 years ago
I fixed this. Patch file attached.

Original comment by signalf...@gmail.com on 9 Sep 2009 at 4:33

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the fix. Worked for me.

Original comment by mora...@gmail.com on 4 Dec 2009 at 2:37