uoa-compsci399-s1-2024 / capstone-project-2024-s1-team-15

Team Bit by Bit - Team 15
https://www.aapc-nz.org
4 stars 0 forks source link

Bug: external news articles on `/profile/:username` page redirect to `/research/:id` #309

Closed arnard76 closed 3 months ago

arnard76 commented 3 months ago

Steps to reproduce

  1. create an external news article at https://dev.aapc-nz.org/news/publish
  2. go to the profile page of whichever user, you are logged in as at https://dev.aapc-nz.org/profile/:username
  3. try and click the external news article you just created

What happens?

shows 404 because it redirects to the /research route instead of /news

https://github.com/uoa-compsci399-s1-2024/capstone-project-2024-s1-team-15/assets/78939786/b7b67d4f-6f99-49de-be71-1c487b0ae2c2

What should happen?

it should show the article that the user just created

arnard76 commented 3 months ago

This is bug that visitors and admins could notice