-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
embed mode broken from 2024.06.18 #177
Comments
Embedding diagrams from Lite has never been a published feature (https://docs.structurizr.com/products#comparison), and the recommendation is to publish workspaces to an on-premises installation, from which they can then be embedded via an iframe -> https://docs.structurizr.com/onpremises/embed This feature could be added in the future, but I'd like to understand the use case for it first, since Lite is primarily designed for local authoring.
I may be mistaken, but I can't find a current support contract for Structurizr Lite. |
Thank you, @simonbrowndotje, for your quick response, |
Expected
I expect to see my embedded diagram in my local web site if I use this url:
http://localhost:8080/workspace/embed?diagram=MyDiagram
Actual
I get a error Bad Request about type of string Long type:
Failed to convert value of type 'java.lang.String' to required type 'long'; For input string: "embed"]
Steps to reproduce
Just create workspace with simple example like:
workspace { model { u = person "User" ss = softwareSystem "Software System" u -> ss "Uses" } views { systemContext ss { include * autolayout lr } } }
start structurizr lite 2024.06.18 locally on port 8080
try url: http://localhost:8080/workspace/embed?diagram=SystemContext-001
Version/build information
It works with 2024.03.03 but it fail from 2024.06.18 to latest.
I checked changes and it seems multi-workspace feature could be impact the embed feature.
Severity
Critical
Priority
I'm willing to pay for this fix (add details below)
More information
We use a lot structurizr lite locally to check our work before to push to the server.
We use Gitlab pages as web site server and iframe to embed diagram from Structurizr server to our documentation.
We already pay for support with opalrt account.
It is critical because our IT ask us to update to latest version for security aspect.
Thanks for your help,
Best regards.
Eric PANIER
The text was updated successfully, but these errors were encountered: