Bug 777975 (SOA-504)

Summary: Input data file for transform_CSV2XML quickstart generates a warning
Product: [JBoss] JBoss Enterprise SOA Platform 4 Reporter: Len DiMaggio <ldimaggi>
Component: ExamplesAssignee: Len DiMaggio <ldimaggi>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4.2 CP01   
Target Milestone: ---   
Target Release: 4.2 CP02   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-504
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-06-10 09:13:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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