Bug 714

Summary: Impossible to find a task if its owner has no id
Product: CS3343_SEP_group8 Reporter: Meryem <malamikas2-c>
Component: DAOAssignee: Meryem <malamikas2-c>
Status: RESOLVED FIXED    
Severity: major CC: junyanxu3-c
Priority: ---    
Version: version0   
Hardware: PC   
OS: Windows   

Description Meryem 2022-11-16 17:16:31 HKT
Problem location : TaskDAO.java
Problem found : TestTaskDAO.java

In the method findTask() we cannot find a task if its owner has no id. That means we would have dead entries in our file which we cannot reach

Solution: User should ALWAYS have a userId -> delete the empty constructor