We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Cc: @Aibono1225
Hi @bradystroud
Alumni people profiles seem to be broken
Steps to reproduce the behavior:
See Damian Brady's people profile
Thanks!
The text was updated successfully, but these errors were encountered:
Based on my investigation, this issue occurs because in SSW.People we don't generate pages for people who no longer work for SSW.
Regarding this issue, I think we can choose one of these two solutions:
Before taking users to the people profile page, check if it exists by making an HTTP request. If it's not found (404 error), don't send users to it.
Leave it as it is.
Sorry, something went wrong.
As per my conversation with @bradystroud , the redirection in SSW.People is not working as expected. Normally, when people visit https://ssw.com.au/people/damian-brady, they should be redirected to https://ssw.com.au/people/damian-brady/ (with slash at the end). If this people is not working at SSW, users should then be redirected to https://ssw.com.au/people/alumni/damian-brady/.
Relevant code: https://github.com/SSWConsulting/SSW.People/blob/da001970536701628059ec5f3fdd435f17bd8b39/gatsby-node.js#L464C1-L480C6
⭐ Done - The issue has been fixed.
Aibono1225
No branches or pull requests
Cc: @Aibono1225
Hi @bradystroud
Describe the Bug
Alumni people profiles seem to be broken
To Reproduce
Steps to reproduce the behavior:
Expected Behavior
See Damian Brady's people profile
Tasks
Screenshots
Thanks!
The text was updated successfully, but these errors were encountered: