Bug 709

Summary: task.getPriorityNumber() doesn't return null when there is no priority
Product: CS3343_SEP_group8 Reporter: Meryem <malamikas2-c>
Component: ModelAssignee: Meryem <malamikas2-c>
Status: CONFIRMED ---    
Severity: major    
Priority: ---    
Version: version0   
Hardware: PC   
OS: Windows   
Attachments: task.getPriorityNumber() should be null

Description Meryem 2022-11-16 16:46:23 HKT
Created attachment 123 [details]
task.getPriorityNumber() should be null

Problem location : Task.java
Problem found : TestTask.java

Creating a task without a priority and then calling the method getPriority() provoke an error

Solution : should check if the priority is null before trying to return it