Menu

#201 CSV table-ordering.txt should support commented lines, with '#' as the symbol for comments.

(future)
pending
None
5
2018-08-20
2017-07-20
No

It would be practical to be able to comment within CSV table-ordering.txt. I suggest that '#' be the comment symbol.

Currently, the following exception occurs if a line starts with '#':

java.lang.StringIndexOutOfBoundsException: String index out of range: -137

at java.lang.String.substring(String.java:1967)
at org.dbunit.dataset.csv.CsvURLProducer.produceFromURL(CsvURLProducer.java:138)
at org.dbunit.dataset.csv.CsvURLProducer.produce(CsvURLProducer.java:107)
at org.dbunit.dataset.CachedDataSet.<init>(CachedDataSet.java:95)
at org.dbunit.dataset.CachedDataSet.<init>(CachedDataSet.java:79)
at org.dbunit.dataset.csv.CsvURLDataSet.<init>(CsvURLDataSet.java:49)</init></init></init>

Discussion

  • Jeff Jensen

    Jeff Jensen - 2017-10-17
    • status: open --> pending
     
  • Jeff Jensen

    Jeff Jensen - 2017-10-17

    Hi Hans, since you've done other coding, wondering if you are planning a patch for this?

     
  • Jeff Jensen

    Jeff Jensen - 2018-08-20
    • assigned_to: Jeff Jensen --> Hans Deragon
     

Log in to post a comment.

MongoDB Logo MongoDB