If you have a JSON SPIN object with a lot of characters, and you view a process instance, camunda cockpit tries to load the string version of the variable when viewing the process variables. This causes the browser tab to crash.
Would be good to add some guards in place that limit the character count that is returned in a JSON variable for cockpit.
Tested in Chrome
Hi @StephenOTT,
does the browser crash as soon as you go to the instance page with the variables tab active or only when you try to inspect the variable content?
Also, do you have a ballpark estimate what a lot means? Thousands? Millions?
Best regards
Sebastian
@sebastian.stamm, the browser tab seemed to load for a few seconds, then freeze.
It crashed/froze before inspecting the content.
“A lot” was thousands/mid to upper of tens of thousands of characters.
All the text was in a single property (example: a description field)