Hi,
We had some problems with 4.5.0h, so we upgraded to 5.2.0a.
When we go to a Contact's page, click on "Create Note or Attachment" in the History subpanel, fill out a quick note and save it, here are the two sql commands that are run:
Sat Mar 7 12:15:10 2009 [12348][1][INFO] Query:INSERT INTO notes_cstm (id_c ,action_c ) VALUES ('5d0f00b5-a46f-ee00-5393-49b2b96882a6' ,'Call' )
Sat Mar 7 12:15:10 2009 [12348][1][INFO] Query:INSERT into notes set id='5d0f00b5-a46f-ee00-5393-49b2b96882a6', date_entered='2009-03-07 18:15:10', date_modified='2009-03-07 18:15:10', modified_user_id='1', created_by='1', name='test 6', portal_flag='0', description='66', deleted='0'
As you can see, there was a custom field added to the note called 'action' that records the type of activity associated with the note. In this case it was a 'Call'.
But the problem is in the second sql command. It is not inserting a parent_id, nor a contact_id. So the note ends up having a contact_id of NULL, and is therefore not associated with the contact.
I did look in the HTML source, and the correct contact_id is listed there in the post form.
Any ideas on what could be going wrong? Thanks much!


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks