Re: cakeDC utils csvImport - fixed fields

2012-02-20 Thread elogic
This is driving me crazy, I'm sure it has to be something I am doing incorrectly but I cannot imagine what. I wonder if their is a limit to the fixed fields or something? Thanks On Feb 14, 4:03 pm, elogic wrote: > Thanks but that isn't the issue as I even tried putting it in manually > i.e. $fi

Re: cakeDC utils csvImport - fixed fields

2012-02-13 Thread elogic
Thanks but that isn't the issue as I even tried putting it in manually i.e. $fixed = array('Property' => array('estate_id' => $estate_id, 'staff_id' => $staff_id, 'upload_id' => 3)); It's quite strange, I even renamed the field in the DB and in the fixed array but nothing is working. On Feb 14,

Re: cakeDC utils csvImport - fixed fields

2012-02-13 Thread Graham Weldon
Hey, Where is this code being run? beforeSave, afterSave, somewhere in the controller? If you haven't performed the save yet, then getInsertID won't work. Cheers, Graham Weldon http://grahamweldon.com e. gra...@grahamweldon.com p. (+61) 0407 017 293 Skype: grahamweldon On Tuesday, 14 February

cakeDC utils csvImport - fixed fields

2012-02-13 Thread elogic
Hi All, I am using cakeDC utils csvImport to import an uploaded CSV into a table. Everything is working besides one of the fixed fields. I have 3 fixed fields, 2 work as required but the other is skipped everytime. I cannot work out what is happening or why this is the case. It's not making sense