You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jakarta.apache.org by bu...@apache.org on 2010/07/29 12:22:14 UTC

DO NOT REPLY [Bug 49666] New: CSV Header read as data after EOF

https://issues.apache.org/bugzilla/show_bug.cgi?id=49666

           Summary: CSV Header read as data after EOF
           Product: JMeter
           Version: 2.4
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
        AssignedTo: notifications@jakarta.apache.org
        ReportedBy: andre@anderis.nl


When a CSV Data Set Config element is defined with the variable names field
empty, the first line that is read is interpreted as fields containing the
variable names.
When data lines are read from this file until EOF (Recycle on EOF?: set to
"true"), the first line, containing the variable names is interpreted as data.
In the case where the first line is the header, this line should be skipped,
reading data should start again at the second line.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org


DO NOT REPLY [Bug 49666] CSV Header read as data after EOF

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49666

--- Comment #1 from Milamber <mi...@gmail.com> 2010-07-30 04:47:09 EDT ---
Created an attachment (id=25820)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25820)
Proposal patch

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org


DO NOT REPLY [Bug 49666] CSV Header read as data after EOF

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49666

Milamber <mi...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Milamber <mi...@apache.org> 2010-08-16 15:02:35 EDT ---
Thanks for the report; fixed in SVN:

URL: http://svn.apache.org/viewvc?rev=986094&view=rev
Log:
Bug 49666 - CSV Header read as data after EOF

Modified:
   
jakarta/jmeter/trunk/src/components/org/apache/jmeter/config/CSVDataSet.java
    jakarta/jmeter/trunk/src/core/org/apache/jmeter/services/FileServer.java
    jakarta/jmeter/trunk/test/src/org/apache/jmeter/config/TestCVSDataSet.java
    jakarta/jmeter/trunk/xdocs/changes.xml

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org


DO NOT REPLY [Bug 49666] CSV Header read as data after EOF

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49666

--- Comment #2 from Sebb <se...@apache.org> 2010-08-16 12:41:27 EDT ---
Looks good; go ahead and apply the patch.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org