-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Optimize Client: Importing reports into a collection fails - OS & ES #4855
Comments
This has now also been reported for C8 |
@tasso94 For prioritisation/roadmapping: Since C8 Optimize is a bit short on FE devs I would suggest C7 team implements the fix and then C8 team picks it over to the monorepo. I dont have much FE knowledge to judge, but to me it doesnt look too complex and is affecting 2 support tickets now. Edit: I see now we've already roadmapped this for end of february. Leaving this here for transparency anyway. |
@venetrius we've been requested to also pick this over to the monorepo. When we have a fix PR ready for C7, lets sync on picking this over to monorepo branches as well. |
Created PR to pick changes into the mono repo camunda/camunda#27787 |
Successfully tested agains 3.15.1-SNAPSHOT Importing reports or dashboard in a collection works as expected ✅ Screen.Recording.2025-02-13.at.12.51.33.movSuccessfully tested agains 3.14.3-SNAPSHOT Importing reports or dashboard in a collection works as expected ✅ Screen.Recording.2025-02-13.at.12.55.19.mov |
Environment (Required on creation)
Customer reported issue on 3.14.1
Reproduced on dev env on latest
Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket)
When importing a report or dashboard in a collection the operation fails
Steps to reproduce (Required on creation)
My env setup:
mvn pre-integration-test -Pit,engine-latest -pl optimize/backend -am -Dskip.fe.build
Main
from Intellij with theopenSearch
profileyarn start
From the UI:
Observed Behavior (Required on creation)
Error in server logs:
Expected behavior (Required on creation)
Importing reports or dashboard in a collection works.
Root Cause (Required on prioritization)
When sending the POST request the
![image](https://private-user-images.githubusercontent.com/25517896/396043965-7f6c1f66-ce45-4e0f-8cf3-48c69d3a604a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MzQ4OTAsIm5iZiI6MTczOTYzNDU5MCwicGF0aCI6Ii8yNTUxNzg5Ni8zOTYwNDM5NjUtN2Y2YzFmNjYtY2U0NS00ZTBmLThjZjMtNDhjNjlkM2E2MDRhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDE1NDk1MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRlZjVjZWE2MDI1MzM4YTM4ODZmNGVlYTVkZjFlZWNiYjNiZWU1YzAyZDQzMjg3ZDc2YmI1OTFhYzhlYWNhM2MmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.lEpkttv5FEz9qDnQHYYKpYldz9uTuvDugrT1kgJWRTo)
collectionId
has an encoded trailing slash.https://github.com/camunda/camunda-optimize/blob/368f665ff5c467f4be1819b356d24c98f5f5e924/optimize/client/src/components/Home/CollectionEnitiesList.js#L49
Solution Ideas
Remove trailing
/
fromid
Hints
Links
https://jira.camunda.com/browse/SUPPORT-24685
https://jira.camunda.com/browse/SUPPORT-25172
Breakdown
Pull Requests
Dev2QA handover
The text was updated successfully, but these errors were encountered: