Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-11455

Automatic transform String to DBObject after previous conversion error

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Unknown

    Description

      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:

      1. First document can be convert to JSON, Mongodb create a document (correct)
      2. Second document has an error, Mongodb cannot create a document (correct)
      3. Third document can be convert to JSON but Mongodb cannot create a document into collection because automatic conversion is broken!!! (BUG)

      Kings regards

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            davsclaus Claus Ibsen
            fabryprog Fabrizio Spataro
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment