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

KIE Sandbox won't accept extended services URLs with pathnames (i.e. http://localhost/extended-services) via env var #387

Open
thiagoelg opened this issue Jul 10, 2023 · 0 comments
Assignees
Labels
area:tools Issues affecting Apache KIE tooling projects misc:good-first-issue Good for newcomers type:bug Something is behaving unexpectedly

Comments

@thiagoelg
Copy link
Member

thiagoelg commented Jul 10, 2023

If the KIE_SANDBOX_EXTENDED_SERVICES_URL env var is set to a URL with pathnames, such as http://localhost/extended-services/ the path is removed from the final URL string.

Check here: https://github.com/kiegroup/kie-tools/blob/main/packages/online-editor/src/extendedServices/ExtendedServicesContextProvider.tsx#L69

Suggested fix: If envUrl.pathname is different than /, concatenate it to the final envHost.

@thiagoelg thiagoelg converted this from a draft issue Jul 10, 2023
@thiagoelg thiagoelg self-assigned this Jul 10, 2023
@thiagoelg thiagoelg added type:bug Something is behaving unexpectedly area:tools Issues affecting Apache KIE tooling projects labels Jul 10, 2023
@thiagoelg thiagoelg removed their assignment Jul 10, 2023
@tiagobento tiagobento added the misc:good-first-issue Good for newcomers label Aug 8, 2023
@tiagobento tiagobento self-assigned this Aug 14, 2023
jomarko added a commit to jomarko/kie-tools that referenced this issue Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:tools Issues affecting Apache KIE tooling projects misc:good-first-issue Good for newcomers type:bug Something is behaving unexpectedly
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants