Hi,

@first: Please excuse my bad english - i hope you will understand what i mean

I have a Model called Newsletter. There is a field called "state" (it
marks the state of an sending) ... Since a few days the update query
works (the database show the updated value) but cake render out an
empty array field (see below) What make i wrong?

Array
(
    [Newsletter] => Array
        (
            [id] => 8

            [sender_email] => [email protected]
            [sendtime] => 2011-05-17 15:48:07
            [state] =>
            [sended] => 0
            [chunksactive] => 0
            [lastoffset] => 0
            [released] => 1
            [created] => 2011-05-15 19:12:53
            [modified] => 2011-05-17 15:48:38
            [actions] => Array
                (
                    [view] =>
                    [edit] =>
                    [delete] =>
                )

        )

)

The Update procedure in the controller:

$this->Newsletter->id = $id;
$this->Newsletter->saveField('released', '1');
$this->Newsletter->saveField('state', 'waiting'); <-- This should be
displayed --- but nothing happens on the page! In the Database
everything is set correct (Value is waiting).
$this->Newsletter->saveField('chunksactive', '0');
$this->Newsletter->saveField('sended', '0');
$this->Newsletter->saveField('lastoffset', '0');

Caching is disabled - Systemwide!

Please help! Thx

-- 
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