Bug 777975 (SOA-504) - Input data file for transform_CSV2XML quickstart generates a warning
Summary: Input data file for transform_CSV2XML quickstart generates a warning
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-504
Product: JBoss Enterprise SOA Platform 4
Classification: JBoss
Component: Examples
Version: 4.2 CP01
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.2 CP02
Assignee: Len DiMaggio
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-08 18:12 UTC by Len DiMaggio
Modified: 2008-06-10 09:13 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-06-10 09:13:27 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-504 0 None None None Never

Description Len DiMaggio 2008-04-08 18:12:12 UTC
Date of First Response: 2008-05-14 07:00:13
project_key: SOA

The  SampleOrder.csv file in the transform_CSV2XML includes a trailing blank line - this causes this warning in the server.log:

14:08:41,264 INFO  [STDOUT] [transform_CSV2Smooks_Intermediate_format] Message before CVS to XML transformation: 
14:08:41,265 INFO  [STDOUT] [1,Wed Nov 15 13:45:28 EST 2006,0,59.97,64.92,4.95,user1,Harry,Fletcher,SD,1,1,364,The 40-Year-Old Virgin,29.98,2,1,299,Pulp Fiction,29.99
2,Wed Nov 15 13:45:28 EST 2007,0,60.00,64.92,4.95,user2,Kalle,Anka,SD,1,1,364,Fletch,29.98,2,1,299,Fletch Lives,29.99
3,Wed Nov 15 13:45:28 EST 2007,0,60.00,64.92,4.95,user3,Donald,Duck,SD,1,1,364,The Goonies,29.98,2,1,4,Happy Gilmor,29.99

].
14:08:41,269 WARN  [CSVParser] [CORRUPT-CSV] CSV line #4 invalid [[]].  The line should contain the following 20 fields [[orderId, orderDate, statusCode, netAmount, totalAmount, tax, userName, firstName, lastName, state, orderLine1Position, orderLine1Quantity, orderLine1ProductId, orderLine1ProductTitle, orderLine1ProductPrice, orderLine2Position, orderLine2Quantity, orderLine2ProductId, orderLine2ProductTitle, orderLine2ProductPrice]], but contains 1 fields.  Ignoring!!

Comment 1 trev 2008-05-14 11:00:13 UTC
Blank line also present in FP1

Comment 2 Kevin Conner 2008-05-19 13:11:00 UTC
Link: Added: This issue depends JBESB-1750


Comment 3 Jiri Pechanec 2008-06-10 09:13:27 UTC
Verified in CR1


Note You need to log in before you can comment on or make changes to this bug.