Bug 258 (klcheun23-c@my.cityu.edu.hk)

Summary: File Path is discovered to be invalid during testing
Product: Group 1: FSFBS Reporter: hohintang2-c
Component: CoreAssignee: Justin <yhwong56-c>
Status: RESOLVED FIXED    
Severity: normal CC: hohintang2-c
Priority: Normal    
Version: unspecified   
Hardware: Macintosh   
OS: Mac OS   
Deadline: 2018-11-24   
Attachments: This is the config file which shows the path to TimeSchedule file.

Description hohintang2-c 2018-11-24 17:37:36 HKT
Created attachment 20 [details]
This is the config file which shows the path to TimeSchedule file.

The file path read "/Data/TimeSchedule/" is not valid. 

The files cannot be accessed with this path. During test cases, I tested it with the above string, /Data/TimeSchedule/, but the test case show me that two strings are not equal. 

In other words, the file path in the program "/Data/TimeSchedule/" should be equal to my input string "/Data/TimeSchedule/", but now it returns false.
Comment 1 Justin 2018-11-24 17:51:05 HKT
The problem was reproduced. A "black space" was found in the file path.(i.e. "/Data/TimeSchedule/ "). It is resolved and fixed after deleting the blank space. Thank you so much for your bug report! :)