Hi,
I've been preparing an upgrade to 6.2.0 and just noticed that I cannot create contacts (I know newer versions are out, but I've been working on 6.2.0 for a while and will use 6.2.2 for final roll out).
This is Pro version. It's been customized, but not for contacts (only custom fields). No on save hooks or similar.
If I create a contact (either alone, or quick create or full form via an account) then when it's saved. all fields are blank - with the exception in the database of date entered, date modified, modified user id and created by. incedentally, the related record in contacts_cstm is there, but only contains the id).
If I then edit the contact record, the new values are saved.
Nothing obvious in the debug log - except some deprication errors:
You'll see the sql insert does not contain the fields - so it doesn't look like a db issue.Code:Tue Aug 30 15:17:03 2011 [8549][c8b5f399-d448-843a-c586-43c7e29c69db][ERROR] convert: Conversion of 30/11/-0001 00:00 from d/m/Y H:i to Y-m-d H:i:s failed Tue Aug 30 15:17:03 2011 [8549][c8b5f399-d448-843a-c586-43c7e29c69db][DEPRECATED] Formatting correction: Contacts->date_entered had formatting automatically corrected. This will be removed in the future, please upgrade your external code Tue Aug 30 15:17:03 2011 [8549][c8b5f399-d448-843a-c586-43c7e29c69db][ERROR] convert: Conversion of 30/11/-0001 00:00 from d/m/Y H:i to Y-m-d H:i:s failed Tue Aug 30 15:17:03 2011 [8549][c8b5f399-d448-843a-c586-43c7e29c69db][DEPRECATED] Formatting correction: Contacts->date_modified had formatting automatically corrected. This will be removed in the future, please upgrade your external code .. .. Tue Aug 30 15:17:03 2011 [8549][c8b5f399-d448-843a-c586-43c7e29c69db][DEPRECATED] SugarBean.php: preprocess_fields_on_save() is deprecated Tue Aug 30 15:17:03 2011 [8549][c8b5f399-d448-843a-c586-43c7e29c69db][INFO] Insert: INSERT into contacts set id='d8090269-0958-87ca-bd1f-4e5cf0f8f3ca', date_entered='2011-08-30 14:17:03', date_modified='2011-08-30 14:17:03', modified_user_id='c8b5f399-d448-843a-c586-43c7e29c69db', created_by='c8b5f399-d448-843a-c586-43c7e29c69db', description=null, deleted='0', assigned_user_id=null, team_id='1', team_set_id='1', salutation=null, first_name=null, last_name=null, title=null, department=null, do_not_call='0', phone_home=null, phone_mobile=null, phone_work=null, phone_other=null, phone_fax=null, primary_address_street=null, primary_address_city=null, primary_address_state=null, primary_address_postalcode=null, primary_address_country=null, alt_address_street=null, alt_address_city=null, alt_address_state=null, alt_address_postalcode=null, alt_address_country=null, assistant=null, assistant_phone=null, picture=null, lead_source=null, reports_to_id=null, birthdate=null, campaign_id=null
I can save all other record types.
There is no save logic hooks - other than the built in sugar feed update.
Any suggestions on where to look?
Thanks


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks