Thanks for taking the time to reply @jeremyharris. The record is still
getting written but the 'Rate' data is missing. The following is an
example of a saved record. As you can see the 'Rate' data is missing.

Array
(
    [Rate] => Array
        (
            [id] => 92
            [id_ref] =>
            [title] =>
            [short_description] =>
            [description] =>
            [price_quote_as] =>
            [adult_supplement] => 0.00
            [child_supplement] => 0.00
            [supplement] => 0.00
            [minimum_stay] => 0
            [maximum_stay] => 0
            [imagefile] =>
            [enabled] => 0
            [special_offer] => 0
            [list_no] => 0
            [availability] =>
            [valid_from] => 0000-00-00 00:00:00
            [valid_to] => 0000-00-00 00:00:00
            [is_corporate] => 0
            [created] => 0000-00-00 00:00:00
            [updated] => 0000-00-00 00:00:00
            [deleted] => 0
            [dirname] =>
            [basename] =>
        )

    [Room] => Array
        (
            [0] => Array
                (
                    [id] => 15
                    [title] => Deluxe Double Room
                    [description] => Situated in the new wing of....
                    [min_adults] => 2
                    [max_adults] => 2
                    [max_children] => 0
                    [no_of_rooms] => 0
                    [enabled] => 1
                    [list_no] => 2
                    [created] => 2011-09-04 21:37:08
                    [updated] => 2011-09-05 17:00:55
                    [deleted] => 0
                    [dirname] => img
                    [basename] => deluxe_bedroom_2.jpg
                    [RatesRoom] => Array
                        (
                            [id] => 1942
                            [rate_id] => 92
                            [room_id] => 15
                            [dirname] =>
                            [basename] =>
                        )

                )

        )

    [CorporateAccount] => Array
        (
        )

)

On Feb 23, 3:34 pm, jeremyharris <[email protected]> wrote:
> What do you mean by corrupted? It should fail gracefully and stop the save
> process if there's an error.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to