pe's People
pe's Issues
Incorrect non-functional requirement for Java version in DG
Hourly Salary not optional even though documentation says otherwise
Documentation
Steps to reproduce
- Copy the following into a
.csv
file
Name,Contact Number,Residential Address,Email,Role,Leave Balance,Salary,Hours Worked,Overtime,Tags
John Doe,98765432,"311, Clementi Ave 2, #02-25",[email protected],Admin Assistant,0,,,,
-
Place the
.csv
file into the same directory as your.jar
-
Run the
import
command to import the.csv
file. -
You should see the following error
Error occurred while importing the file.
Invalid Input in Row 1: Hourly Salary should only contain non-negative numbers with two or less decimal places, with a value between 0 to 1000, and it should not be blank.
Expected Behaviour
Documentation says that the file should be able to be imported without specifying hourly salary.
Actual Behaviour
An error message pops up to disallow import because hourly salary is not specified.
Screenshots
Wrong error message for addition parameters
Steps to reproduce
- Enter the following command
add n/John Doe p/98765432 e/[email protected] a/John street, block 123, #01-01 r/Admin Assistant l/14 s/9.50 hw/40 o/0 asd/???
- The following error message should be seen
Overtime should only contain an integer value between 0 and 744 (both inclusive), and it should not be blank.
Expected Behaviour
The application should show some error message telling me that format is invalid or parameter asd
does not exist.
Actual Behaviour
The application shows me the error message that I passed the wrong value into overtime
Screenshots
Typo in documentation test case for import
Expected Behaviour
Using the command import /toBeImported.csv
as specified in the DG results in a successful import when there is a toBeImported.csv
file in the same directory as the .jar
file.
Expected Behaviour
Using the command import /toBeImported.csv
as specified in the DG will not work as expected. I suspect there is a typo here and it should have been import ./toBeImported.csv
.
Screenshots
Additional Remarks
Severerity here is medium
because there was a similar case in the PE preparation quiz where demo
was misspelt in the UG.
Inconsistent error message in edit command
Steps to reproduce:
-
Enter the following command into the command panel input. (Assuming list of 7 employees)
edit 8 n/John Wee
-
Error message is
The person index provided is invalid
-
Enter the following command into the command panel input.
edit 0 n/John Wee
-
Error message is
Invalid command format! ...
Expected Behaviour
Both the error messages should be similar due to the fact that they are both a result of invalid INDEX
.
Actual Behaviour
Both the error messages are different.
Screenshots
Error message even when add command entered should be correct
Steps to reproduce:
-
Copy and paste the following command into the command panel input bar and press the enter key.
add n/� ы 拢 Ӹ Ћ ډ؊ p/98765432 e/[email protected] a/John street, block 123, #01-01r/Admin Assistant l/14 s/9.50 hw/40 o/0
-
An
Invalid command format!
error should be displayed. (Which is correct) -
Copy and paste the following command into the command panel input bar.
add n/John Doe p/98765432 e/[email protected] a/John street, block 123, #01-01 r/Admin Assistant l/14 s/9.50 hw/40 o/0
-
Press the
enter
key.
Expected
An employee should be successfully added to HeRon.
Actual
The following text is the response displayed in the command panel:
Invalid command format!
add: Adds an employee to HeRon. Parameters: n/NAME p/PHONE e/EMAIL a/ADDRESS r/ROLE l/LEAVES s/SALARY hw/HOURS_WORKED o/OVERTIME [t/TAG]...
Additional Information
The command was copied from the UG here.
NUMBER_OF_LEAVES does not account for leap years where there is 366 days
Leave balance is not optional during import when documentation says otherwise
Documentation
Steps to reproduce
- Copy the following into a
.csv
file
Name,Contact Number,Residential Address,Email,Role,Leave Balance,Salary,Hours Worked,Overtime,Tags
John Doe,98765432,"311, Clementi Ave 2, #02-25",[email protected],Admin Assistant,,,,,
-
Place the
.csv
file into the same directory as your.jar
-
Run the
import
command to import the.csv
file. -
You should see the following error
Error occurred while importing the file.
Invalid Input in Row 1: Leave Balance should only contain an integer value between 0 and 365 (both inclusive), and it should not be blank.
Expected Behaviour
Documentation says that the file should be able to be imported without specifying leave balance.
Actual Behaviour
An error message pops up to disallow import because leave balance is not specified.
Screenshots
Missing steps in delete an employee use case
Hours worked not optional during import unlike documentation
Documentation
Steps to reproduce
- Copy the following into a
.csv
file
Name,Contact Number,Residential Address,Email,Role,Leave Balance,Salary,Hours Worked,Overtime,Tags
John Doe,98765432,"311, Clementi Ave 2, #02-25",[email protected],Admin Assistant,0,0,,,
-
Place the
.csv
file into the same directory as your.jar
-
Run the
import
command to import the.csv
file. -
You should see the following error
Error occurred while importing the file.
Invalid Input in Row 1: Hours Worked should only contain an integer value between 0 and 744 (both inclusive), and it should not be blank.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.