Comments

  1. you need to set the id of the model so that cake can save the field to the right entry in the database.
    i.e. quote from :
    http://book.cakephp.org/view/75/Saving-Your-Data

    Set the ID of the model ($this->ModelName->id = $id) just before calling saveField().

    September 4, 2009 at 12:00 pm |
  2. Holger:

    I don’t think you misunderstood that, that’s confusing for me too. Anyway “$this->ModelName->id = $id” was the solution for my UpdatePassword-Action too. Thank you!

    January 1, 2010 at 3:20 am |

Leave a Reply

You must be logged in to post a comment.