Skip to content

Conversation

@MTarek165
Copy link
Contributor

@MTarek165 MTarek165 commented Dec 19, 2025

closes #13745

Description

  • splitting file path assumes that it starts with tenantId not namepace and file path reaching there not containing tenantId but since tenantId parameter is not null so it always removes the namespace instead of tenantId causing StringIndexOutOfBounds exception when trying to remove flowId

Solution

  • From my investigation I see that always the correct storage uri formula is kestra:///{namespace}/{flowId}/......
    so I removed redundant tenantId splitting

Testing

  • Since I can't assert on namespace using the public method since it returns the file content, it is mandatory to isolate it and make it package-private for testing purposes

@MilosPaunovic MilosPaunovic added area/backend Needs backend code changes kind/external Pull requests raised by community contributors labels Dec 22, 2025
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 kind/external Pull requests raised by community contributors

Projects

Status: To review

Development

Successfully merging this pull request may close these issues.

read() fails in parent flow when reading Subflow output (StringIndexOutOfBoundsException)

2 participants