You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2017/07/20 08:02:00 UTC
[jira] [Commented] (CAMEL-11455) Automatic transform String to
DBObject after previous conversion error
[ https://issues.apache.org/jira/browse/CAMEL-11455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16094325#comment-16094325 ]
Claus Ibsen commented on CAMEL-11455:
-------------------------------------
Did you get a chance to send a PR, as we will work on a Camel 2.19.2 release early next month then we need to get this fixed fairly soon
> Automatic transform String to DBObject after previous conversion error
> ----------------------------------------------------------------------
>
> Key: CAMEL-11455
> URL: https://issues.apache.org/jira/browse/CAMEL-11455
> Project: Camel
> Issue Type: Bug
> Components: camel-mongodb, camel-mongodb3
> Affects Versions: 2.19.1
> Reporter: Fabrizio Spataro
> Assignee: Fabrizio Spataro
> Fix For: 2.19.2, 2.20.0
>
> Attachments: jsonFormatterDisappear.zip
>
>
> Hello,
> i found a bug. To reproduce it you can execute the code (see attachment file).
> The bug is simple:
> After an invalid conversion, the automatic String -> JSON transformation used to put a document into MongoDB collection, fail!
> Application flow:
> # First document can be convert to JSON, Mongodb create a document (correct)
> # Second document has an error, Mongodb cannot create a document (correct)
> # Third document can be convert to JSON but Mongodb cannot create a document into collection because automatic conversion is broken!!! (BUG)
> Kings regards
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)