gtg-bantonio opened a new issue, #1542:
URL: https://github.com/apache/camel-karavan/issues/1542

   ### Describe the bug
   
   Good day, we're working with Apache Karavan for a while, and after fixing 
some errors in our architecture, we are able to keep working it. When we're 
testing all the functionalities, we discover that the "Properties" tab in the 
Trace Window of the Project it suddenly breaks the app.
   
   After some digging in the Camel Core and the Karavan code, we found that the 
Camel Core dumps the properties as an JSON Object, but the Karavan app decode 
the object, so React refuses to renderized.
   
   A solution for this could be `JSON.stringify` the value and put in some 
`<pre>` tag. I could make a pull request, if that could speed up the things.
   
   ### Steps to reproduce the behavior
   
   1. Create a new project.
   2. Create a dummy route with a Timer and a Set Property with a HashMap.
   3. Build it for production.
   4. Open the Trace tab.
   5. Open the exchange.
   6. Open the Properties tab
   
   ### Variant
   
   Web Application
   
   ### Container Management (if applicable)
   
   Kubernetes
   
   ### Operating System (if applicable)
   
   Linux
   
   ### Version
   
   4.10.2
   
   ### Relevant log output
   
   ```shell
   Objects are not valid as a React child (found: object with keys {key}). If 
you meant to render a collection of children, use an array instead.
   ```


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to