guides-source
guides-source copied to clipboard
Guides seem broken due to TypeError
Visit https://guides.emberjs.com/release/testing/
IS:
Will crosspost in Discord #dev-ember-learning
Some more info:
- If I Google "Ember acceptance tests", the first link on Google takes me to 2.14. Strange behavior, ideally would always go to the latest.
- When I go from 2.14 to 4.0, the blank UI I saw in the screenshot above flashes, then goes away. I can't reliably reproduce it...not 100% certain how I got that before. Once I got the above screenshot, every guides page was borked.
- If I try to use the back button, I'm 404'd.
Hope this helps, sorry not more time to dig into it right now!
The top Google search result is a pretty common problem for versioned materials like this. Unfortunately, it is something that we (and anyone like us, writing docs) have very little control over. You will see the same thing searching versions docs for just about anything – I hit it today, for example, with the music notation software I use (Dorico).
Thanks for reporting. I’m glad things aren’t broken across the board. I think I have seen this when the back/next links at the bottom break. If that’s the case, we need a fallback behavior added to guidemaker.
Data point here is we renamed the link: https://guides.emberjs.com/release/testing/testing-application/
vs https://guides.emberjs.com/v2.14.0/testing/acceptance/
I'm guessing this is somewhere in guidemaker. Do you have an idea where we can start poking @mansona?
If a changed URL is part of the problem, perhaps what we need is to backfill a missing redirect.
@jenweber I think it is more insidious than that, see the browser URL and the URL in the GET request in the followinig screenshot:
Dug into this a bit. Looks like the redirect
is being cached when doing browser back, I'm not super familiar with the guidemaker
but its not in the payload (http://localhost:4200/content/v2.14.0/testing/acceptance.json) but it is in the model response.
still a problem :C
Yup.