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

Automatic transform String to DBObject after previous conversion error

    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

        1. jsonFormatterDisappear.zip
          10 kB
          Fabrizio Spataro

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: