-
Notifications
You must be signed in to change notification settings - Fork 443
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
Regression with 3.21.0 and render_inline #2187
Comments
@tvdeyen interesting! Do you have time to open a failing test here for this use case? I do see that you are getting the HTML safety warning that we improved in 3.21, so I'm wondering if that's part of the issue. |
@joelhawksley I hope you're well! It looks like the compiler is under some circumstances trying to |
After some investigation, we found the problem was with a mocked component that was an anonymous class. This made
This error message then went into the compiler, and the error message was the unsafe HTML. I would close this for now, as we've found a workaround in solidusio/solidus#6055. |
Thanks @mamhoff for investigating. Closing |
Steps to reproduce
See this failed CircleCI run of Solidus https://app.circleci.com/pipelines/github/solidusio/solidus/7226/workflows/289fdaa9-334f-4c14-ad3c-0af8222f7da9/jobs/67674
The Component Spec can be found at https://github.com/solidusio/solidus/blob/main/admin/spec/components/solidus_admin/base_component_spec.rb#L14
The component can be found at https://github.com/solidusio/solidus/blob/main/admin/app/components/solidus_admin/base_component.rb
Expected behavior
Test does not fail with syntax error
Actual behavior
Test does fails with syntax error
Backtrace:
System configuration
Rails version:
7.0, 7.1, 7.2
Ruby version:
3.1, 3.2, 3.3
Gem version:
3.21.0
It works with 3.20.0
The text was updated successfully, but these errors were encountered: