You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "gtg-bantonio (via GitHub)" <gi...@apache.org> on 2025/08/11 03:49:53 UTC

[I] Bug Camel Property does not show when ExchangeProperty is serializable as JSON object/array [camel-karavan]

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-unsubscribe@camel.apache.org.apache.org

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


Re: [I] Bug Camel Property does not show when ExchangeProperty is serializable as JSON object/array [camel-karavan]

Posted by "mgubaidullin (via GitHub)" <gi...@apache.org>.
mgubaidullin closed issue #1542: Bug Camel Property does not show when ExchangeProperty is serializable as JSON object/array
URL: https://github.com/apache/camel-karavan/issues/1542


-- 
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-unsubscribe@camel.apache.org

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