[
https://issues.apache.org/jira/browse/NUTCH-2790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17129795#comment-17129795
]
ASF GitHub Bot commented on NUTCH-2790:
---------------------------------------
sebastian-nagel commented on pull request #532:
URL: https://github.com/apache/nutch/pull/532#issuecomment-641563662
+1 Good catch!
> Is there any way to have detailed test information when running them from
command line?
You can execute the unit tests for a specific plugin:
```
ant test-plugin -Dplugin=indexer-csv
```
The test output is written to `build/indexer-csv/test/`(output of core tests
is in `build/test`).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> CSVIndexWriter does not escape leading quotes properly
> ------------------------------------------------------
>
> Key: NUTCH-2790
> URL: https://issues.apache.org/jira/browse/NUTCH-2790
> Project: Nutch
> Issue Type: Bug
> Components: indexer
> Affects Versions: 1.17
> Reporter: Patrick Mézard
> Priority: Minor
>
> There is an off-by-one error in
> [https://github.com/apache/nutch/blob/master/src/plugin/indexer-csv/src/java/org/apache/nutch/indexwriter/csv/CSVIndexWriter.java#L408]
> The nextQuoteChar==0 case is skipped and the value serialized verbatim
> instead of being escaped.
> I will send a PR after the ticket creation.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)