- Issue created by @star-szr
- 🇨🇦Canada star-szr
Seeing somewhat different and unexplicable behaviour in my test site, so going to come back to this.
I've still pushed some code to the issue fork that resolves the issue on our real-world site, but my next step will be to roll that back and try to write a failing test for this.
- 🇨🇦Canada star-szr
I have a manual test case that consistently reproduces, but have not successfully gotten a PHPUnit Functional test to fail with the same setup.
- Install Drupal 11, minimal profile
- Install commerce, toolbar, big_pipe, contact (others may trigger it, unclear)
- Change default theme to Claro (unclear as to why Stark doesn't show the error)
- In Firefox/Chromium web inspector disable JavaScript
- Navigate to /user
You should then see the assertion error, assuming you have assertions enabled.
Of note, I was not able to reproduce any errors in a CLI browser (I used links) or with curl. The big_pipe no-js detection was working well for these, it seems.
I updated the issue summary, after digging into this I'm less and less convinced this is actually a Commerce issue. I am fairly sure the changes here are just a workaround. Closing this.