Bug 706 - Task is added without an owner
Summary: Task is added without an owner
Status: CONFIRMED
Alias: None
Product: CS3343_SEP_group8
Classification: Unclassified
Component: Model (show other bugs)
Version: version0
Hardware: PC Windows
: --- major
Assignee: Meryem
URL:
Depends on:
Blocks:
 
Reported: 2022-11-16 16:30 HKT by Meryem
Modified: 2022-11-16 16:37 HKT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Meryem 2022-11-16 16:30:10 HKT
Problem location : Task.java
Problem found : TestTask.java

When a user is added to a task without an owner, when a user is assigned to the  task then the task still has no owner 

Solution : Delete the empty constructor public Task()
Comment 1 Meryem 2022-11-16 16:37:51 HKT
If it's possible to create a task without an owner, getOwnerString() -> Should be null if no owner is set