Just got Sugar Community 5.1.0 and am having trouble importing data from a CSV file into a custom module which I put together.
I used the module builder, with "basic" template, published the module but keep getting an error when trying to import.
The error is:
"
Import Errors Occurred
Query Failed:INSERT into b2c3d_contact_management set id='20869c76-f6f6-1808-de96-494bcf2db9c1', date_entered='2008-12-19 16:43:45', date_modified='2008-12-19 16:43:45', modified_user_id='9b2ef973-f514-7279-6d1b-49494c22ff29', created_by='9b2ef973-f514-7279-6d1b-49494c22ff29', deleted='0', assigned_user_id='9b2ef973-f514-7279-6d1b-49494c22ff29'::MySQL error 1364: Field 'name' doesn't have a default value
Importing Records 1 to 507 of 507
Importing Records 1 to 507 of 507
"
I should note that I had a bit more success when I created a custom module using the "person" template, but was not able to import all the files due to a "date" issue, which is why I decided to recreate the module using the basic layout. So, the problem must lie somewhere within the realm of how the templates are recognized/organized?
I am not using the field "name" anywhere on the module (it was one of the default fields initially), so I have no clue what to do here. I am running out of time and people are getting impatient. Pls help.


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks