-
-
Notifications
You must be signed in to change notification settings - Fork 105
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
Race-time condition from core layouts.cfm #1194
Comments
I reverted back the syntax updates, I can't imagine how that would cause this bug but so far I haven't seen the error again so that's promising. I just have no idea how these changes would cause this issue. Here's the commit I reverted back from: |
Nevermind, it's back 🤦🏻♂️ |
@neokoenig Any ideas? Is it possible the array could be modified somewhere else concurrently which would account for why CF counts 4 items in the array on one line then on the next only counts 3? |
Not off the top of my head, but just wondering if it is actually a "blank" layout, then you could use |
Thanks Tom! Fortunately, the layout file is actually blank. It just has Just updated the code in prod, praying that fixes it 🙏 |
@neokoenig Ugh - Similar to the last error, except now it's saying If you look at the code, this error should not be possible. Any other ideas? |
@timsayshey Is this issue fixed? |
Describe the bug
Unfortunately, this is a race-time condition coming from CFWheels, and I am unable to reproduce it. It happens in production on rare occasion.
It is triggered when I called
usesLayout
from my controller:usesLayout("/layouts/blank");
Any idea how this error would be possible by looking at the framework code?
wheels/controller/layouts.cfm:46
Environment
Error:
The text was updated successfully, but these errors were encountered: