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

Setting an XSLT transformation after an invalid XSLT has been set is not possible. #358

Open
MatthijsSmets opened this issue Jan 17, 2025 · 0 comments
Assignees
Labels
Backend bug Something isn't working

Comments

@MatthijsSmets
Copy link
Contributor

Issue

Setting an XSLT transformation after an invalid XSLT has been set is not possible.

Steps to reproduce

Using the new ladybug frontend:

  • Open the settings modal by clicking the gear icon
  • Add something to the transformation to make it invalid like:
    <xxx/>
  • Save it.

  • Open a report

  • See that an exception is visible in the editor:

Image

  • Close the report
  • Click the reset to factory settings to reset the transformation to a valid XSLT or set it manually
  • Make sure the Use transformation for report.xml option is checked
  • Reopen the report
  • See that the exception is still visible

Only unchecking the Use transformation for report.xml option fixes this problem, but it means a custom transformation can not be used.

Notes

  • This only happens with the new ladybug frontend, so there's probably something wrong in the API.
  • Restarting the backend fixes the problem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend bug Something isn't working
Projects
Status: To do
Development

No branches or pull requests

2 participants