You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2011/09/12 09:51:08 UTC

[jira] [Created] (CAMEL-4440) camel-csv - Make it consistent what unmarshal returns as object, so its the same for 1 or more rows

camel-csv - Make it consistent what unmarshal returns as object, so its the same for 1 or more rows
---------------------------------------------------------------------------------------------------

                 Key: CAMEL-4440
                 URL: https://issues.apache.org/jira/browse/CAMEL-4440
             Project: Camel
          Issue Type: Improvement
    Affects Versions: 2.8.0
            Reporter: Claus Ibsen
            Priority: Minor
             Fix For: 2.9.0


See nabble
http://camel.465427.n5.nabble.com/unmarshal-CsvDataFormat-different-behavior-for-one-or-multiples-lines-tp4778814p4778814.html


The camel-csv should always return the same List<List>> regardless if there is 0, 1 or 2+ rows returned. That makes it consistent and easier for end users who need to work with this data.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CAMEL-4440) camel-csv - Make it consistent what unmarshal returns as object, so its the same for 1 or more rows

Posted by "Ioannis Canellos (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ioannis Canellos updated CAMEL-4440:
------------------------------------

    Attachment: CAMEL-4440-patch.txt

I am attaching a patch which solves this issue and also adds a new unit test for testing unmrashaling on a single row.

> camel-csv - Make it consistent what unmarshal returns as object, so its the same for 1 or more rows
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-4440
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4440
>             Project: Camel
>          Issue Type: Improvement
>    Affects Versions: 2.8.0
>            Reporter: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.9.0
>
>         Attachments: CAMEL-4440-patch.txt
>
>
> See nabble
> http://camel.465427.n5.nabble.com/unmarshal-CsvDataFormat-different-behavior-for-one-or-multiples-lines-tp4778814p4778814.html
> The camel-csv should always return the same List<List>> regardless if there is 0, 1 or 2+ rows returned. That makes it consistent and easier for end users who need to work with this data.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CAMEL-4440) camel-csv - Make it consistent what unmarshal returns as object, so its the same for 1 or more rows

Posted by "Ioannis Canellos (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ioannis Canellos updated CAMEL-4440:
------------------------------------

    Patch Info: [Patch Available]

> camel-csv - Make it consistent what unmarshal returns as object, so its the same for 1 or more rows
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-4440
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4440
>             Project: Camel
>          Issue Type: Improvement
>    Affects Versions: 2.8.0
>            Reporter: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.9.0
>
>         Attachments: CAMEL-4440-patch.txt
>
>
> See nabble
> http://camel.465427.n5.nabble.com/unmarshal-CsvDataFormat-different-behavior-for-one-or-multiples-lines-tp4778814p4778814.html
> The camel-csv should always return the same List<List>> regardless if there is 0, 1 or 2+ rows returned. That makes it consistent and easier for end users who need to work with this data.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CAMEL-4440) camel-csv - Make it consistent what unmarshal returns as object, so its the same for 1 or more rows

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-4440.
--------------------------------

    Resolution: Fixed
      Assignee: Ioannis Canellos

Thanks for the patch.

> camel-csv - Make it consistent what unmarshal returns as object, so its the same for 1 or more rows
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-4440
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4440
>             Project: Camel
>          Issue Type: Improvement
>    Affects Versions: 2.8.0
>            Reporter: Claus Ibsen
>            Assignee: Ioannis Canellos
>            Priority: Minor
>             Fix For: 2.9.0
>
>         Attachments: CAMEL-4440-patch.txt
>
>
> See nabble
> http://camel.465427.n5.nabble.com/unmarshal-CsvDataFormat-different-behavior-for-one-or-multiples-lines-tp4778814p4778814.html
> The camel-csv should always return the same List<List>> regardless if there is 0, 1 or 2+ rows returned. That makes it consistent and easier for end users who need to work with this data.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira