Import error

A forum where issues related to the DataPort utility can be discussed.
Post Reply
andytauber
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 28
Joined: Thu Jun 05, 2008 6:11 pm

Import error

Post by andytauber » Mon Mar 30, 2009 5:32 pm

We are having an issue where dataport is giving us some truncation errors on some records. I am not seeing what the problem is. I will be attaching a data file

Here is the mapping
Name= Search Keywords
Manufacturer= Manufacturer
Sku= Sku
Shippable= Shippable
Thumbnail URL= Thumbnail URL
Thumbnail ALT Text= Thumbnail Alt Text
Image URL=Thumbnail URL
Image Alt Text=Thumbnail Alt Text
Description= Description
Extended Description= Extended Description
Icon URL=Thumbnail URL
Icon Alt Text=Thumbnail Alt Text
Categories= Categories
Search Keywords= Search Keywords


Sample Data

Manufacturer Sku Description ExtendedDescription SearchKeywords List Price Categories Category for Landing Pages Class Type Original Picture Name ThumbnailUrl ThumbnailAltText Shippable
TEST TESTNOPERIOD TEST NO PART TEST NO PERIOD 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 TEST NO PERIOD 111 $3,895 TEST Channel Bank- D4 Chassis no image available-1.jpg ~/Assets/ProductImages/no image available-1.jpg TEST | TEST NO PERIOD | TEST NO PERIOD is available at Hummingbird Networks Yes
TEST TESTPERIOD TEST NO PART2 TEST PERIOD. 11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111. TEST NO PERIOD 111 $3,895 TEST Channel Bank- D4 Chassis no image available-1.jpg ~/Assets/ProductImages/no image available-1.jpg TEST | TESTPERIOD | TEST PERIOD is available at Hummingbird Networks Yes
Carrier Access/Turin Networks 930-1026 AN chassis 8 Quad DSX1 cards 2 GR-303 w Pphone controller cards DCS and GR303 w Pphone software GR-303 host with P-phone service support 930-1026 GR303 host with Pphone service support $23,995.00 Access Navigator Chassis Multi Service Digital Access accessnavigator.gif ~/Assets/ProductImages/accessnavigator.gif Carrier Access | GR-303 host with P-phone service support| 930-1026 is available at Hummingbird Networks Yes
Carrier Access/Turin Networks 752-0004 Software license to enable IPSec VPN features Software license to enable IPSec VPN features. 752-0004 Software license to enable IPSec VPN features $295.00 Adit 3100 Accessory IAD- Fixed Converged Services Access Gateway adit 3104.jpg ~/Assets/ProductImages/adit 3104.jpg Carrier Access | Software license to enable IPSec VPN features| 752-0004 is available at Hummingbird Networks Yes


Anyone see an issue?

User avatar
Katie
AbleCommerce Admin
AbleCommerce Admin
Posts: 2651
Joined: Tue Dec 02, 2003 1:54 am
Contact:

Re: Import error

Post by Katie » Mon Mar 30, 2009 8:36 pm

What verson and build of AbleCommerce are you using? Truncation errors are caused from too much data being inserted into the database where the field size is too small. We had fixed a couple database fields in the last update to Able.

Thanks,
Katie
Thank you for choosing AbleCommerce!

http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support

User avatar
Naveed
Rear Admiral (RADM)
Rear Admiral (RADM)
Posts: 611
Joined: Thu Apr 03, 2008 4:48 am

Re: Import error

Post by Naveed » Wed Apr 01, 2009 12:04 pm

andytauber wrote: Here is the mapping
Name= Search Keywords
Manufacturer= Manufacturer
Sku= Sku
....
Instead of posting the mapping manually, alternately you can save your mapping using DataPort as a template and can re-use (or share) it easily. I hope you can easily find the "Save mapping as a new template" option on CSV import/export screens.


Regarding the CSV sample data provided, you are not using any text qualifier. Use either single quote or double quote characters as text qualifiers.

And the string truncation errors most like may occurs for some database fields for which you are trying to import lengthy string data. Like if your "Name" or "ThumbnailUrl" fields have more data then the field length in database. You can avoid these by manually reducing length of these fields in CSV data.

Post Reply