Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type annotations aren't renderable within Kestra UI #5040

Open
ReLoutre opened this issue Sep 24, 2024 · 1 comment
Open

Type annotations aren't renderable within Kestra UI #5040

ReLoutre opened this issue Sep 24, 2024 · 1 comment
Labels
area/backend Needs backend code changes bug Something isn't working

Comments

@ReLoutre
Copy link

ReLoutre commented Sep 24, 2024

Describe the issue

While trying to preview ION files that contains type annotations i'm issuing the following error :
image

Here's a extract of the error (that by far too long to be paste here) :
Internal Server Error: Error encoding object [io.kestra.webserver.utils.filepreview.IonFileRender@8131f19] to JSON: Document nesting depth (1001) exceeds the maximum allowed (1000, from StreamWriteConstraints.getMaxNestingDepth()) (through reference chain: io.kestra.webserver.utils.filepreview.IonFileRender["content"]->java.util.ArrayList[1]->java.util.LinkedHashMap["attributes"]->java.util.LinkedHashMap["description"]->java.util.ArrayList[0]->com.amazon.ion.impl.lite.IonStringLite["system"]->com.amazon .......

Here's an extract of the Ion file content :
{dn:"cn=bloup,dc=fr",attributes:{description:["bloup bloup"]}}
{dn:"cn=bloup,dc=fr",attributes:{description:[base64::"wqlwYXJ0ZW1lbnQgVEMgVE9VTE9VU0U="]}}
{dn:"cn=bloup,dc=fr",attributes:{description:["bloup bloup"]}}

Downloading the file works well and the content isn't corrupted.

Environment

  • Kestra Version: 0.18.8
  • Operating System (OS/Docker/Kubernetes): Docker
@ReLoutre ReLoutre added the bug Something isn't working label Sep 24, 2024
@github-project-automation github-project-automation bot moved this to Backlog in Issues Sep 24, 2024
@ReLoutre
Copy link
Author

In my opinion, the problem is highly related to the following issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/backend Needs backend code changes bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

2 participants