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
Error when processing controller action #732
Comments
Sorry you having trouble. The debug messages are not very clear, but it's not the controller action that's causing an issue, it's the |
Sorry, I understand that the debug messages may not be that clear and lack some degree of context. I thought it might be a reasonable starting point, and it is as much as I have to go on at this point. It is a haml template. |
Oops I didn't mean to blame you for the unclear errors. Those are my fault :) Unfortunately I can't replicate this issue without knowing the contents of the view. Is there any way you can either share the code or narrow it down to a sample that still causes the error? |
No problem. I did some experimentation with the problem template and determined that it did not like an embedded comment that was under a javascript tag, I distilled it down to:
|
Perfect, I can reproduce the issue. |
Should be fixed with #750 |
I have one controller action that is throwing an error during processing. I am using ruby 2.1.2 and Brakeman 3.1.1. There are around 20+ controllers with a fair number of actions that all process without issue. A report is generated but brakeman exits in error.
I ran it in debug mode and got this call stack in the middle of the processing output:
Then at the end of the run and following "Indexing call sites..":
I can't quite figure out why the index action in this controller class is a problem. When I delete the action outright and then do a Brakeman run, it completes without any issue. Running 'ruby -c' and 'ruby_parse' run without any issue on this controller file.
The text was updated successfully, but these errors were encountered: