bounswe / 2021SpringGroup9

This is the project repository for Group 9 of the Project Development in Software Engineering course at Bogazici University. We will plan and develop a software project throughout the semester.
3 stars 1 forks source link

Bugfix on activity stream endpoints, deleted instance problem. #585

Closed mertlkn closed 2 years ago

mertlkn commented 2 years ago

Platform information(framework version, IDE version, browser etc.):

  1. Postman

Steps to reproduce the bug:

  1. Send a request to activity stream endpoints, database should contain a deleted post.

Expected result:

Activities are returned.

Actual result:

500 Internal server error.

Screenshot(if applicable):

Error message(if applicable):

Additional notes:

mertlkn commented 2 years ago

This error was a bit hard to catch. But I figured out that it was due to deleted posts in our DB. They were being tried to accessed. Problem is now solved. PR can be found here