Bug 258 (klcheun23-c@my.cityu.edu.hk) - File Path is discovered to be invalid during testing
Summary: File Path is discovered to be invalid during testing
Status: RESOLVED FIXED
Alias: klcheun23-c@my.cityu.edu.hk
Product: Group 1: FSFBS
Classification: Unclassified
Component: Core (show other bugs)
Version: unspecified
Hardware: Macintosh Mac OS
: Normal normal
Deadline: 2018-11-24
Assignee: Justin
URL:
Depends on:
Blocks:
 
Reported: 2018-11-24 17:37 HKT by hohintang2-c
Modified: 2018-11-24 17:51 HKT (History)
1 user (show)

See Also:


Attachments
This is the config file which shows the path to TimeSchedule file. (174 bytes, text/plain)
2018-11-24 17:37 HKT, hohintang2-c
Details

Note You need to log in before you can comment on or make changes to this bug.
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! :)