guaj / SemesterPlanner-Server

Backend repository for the Semester Planner App
2 stars 1 forks source link

[101][bug] Adding participants while creating a new study room does not add the participants #101

Closed mnashat closed 1 year ago

mnashat commented 1 year ago

This issue concerns the creation of a study room. During study room creation, if the user specifies participants to be added into the study room, the participants are not added correctly when the study room is created. This prevents participants from seeing the study room.

Cause: study room creation in the backend does not seem to reference participants, hence discarding the indicated participants during study room creation (participants are added to the study room document in the database, but the participants are not associated to the study rooms/student documents are not updated to include the newly created study room).

Solution: on study room creation, find associated participants and update their documents as part of the study room creation process

Resolution: Unresolved

PS: current workaround to this issue is to readd the participants from the participants tab inside the study room once the study room is created.