| Summary: | Program will crash if the file path contains blank space when start to login | ||
|---|---|---|---|
| Product: | CS3343 Group 26 Automated Timetable Planner | Reporter: | Vivian Cho <tycho5-c> |
| Component: | Login | Assignee: | libbyng <laiyingng4-c> |
| Status: | RESOLVED FIXED | ||
| Severity: | critical | ||
| Priority: | Normal | ||
| Version: | Beta | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Attachments: |
The command list and error shown in the program
Code for resolving the bug |
||
|
Description
Vivian Cho
2021-12-06 13:26:24 HKT
Created attachment 106 [details]
The command list and error shown in the program
Summary: When I was trying to log in, there is a list of errors shown. Steps to Reproduce: Step 1: type login command Step 2: press enter Actual Results: The error messages are shown and thrown java.io.FileNotFoundException Expected Results: After typing the "login" command, the program should show the login shell and show the "Login success!" system message. Created attachment 108 [details]
Code for resolving the bug
It seems that it is the problem of spacing that has the encoding of '%20'. The bug is solved by adding code which is the .replaceall() function. Please see the attached file called 'Code for resolving the bug.png'. |