nus-cs2103-AY2324S1 / pe-dev-response

0 stars 0 forks source link

Unable to add employee according to the example #3723

Open nus-se-script opened 10 months ago

nus-se-script commented 10 months ago

image.png

With reference to the image, the example describes how to add an employee with specified fields.

Expected that employee to be added with name John Doe however, am unable to add employee with error message thrown

Command add n/John doe p/91234567 e/example@example.com a/1 Lower Kent Ridge Road s/4000 l/12 r/manager d/SoC HR

I am unable to add the employee and check the glossary to verify that the command format is valid.

image.png

As this is the core feature of the application, allowing Users to add an employee for tracking purposes and seamless Human Resources management, it makes it difficult to streamline such processed.


[original: nus-cs2103-AY2324S1/pe-interim#5141] [original labels: type.FeatureFlaw severity.Medium]

kenvynKwek commented 10 months ago

Team's Response

Thanks for the bug report. However, your command input is indeed invalid as evident in the screenshot. There is no spacing between the address and the salary parameter, instead of 'a/1 Lower Kent Ridge Roads/4000', it should have been 'a/1 Lower Kent Ridge Road s/4000' (note the spacing in between 'd' and 's'). If the command is entered with the correct spacing, the add command example works correctly.

Please note that copying and pasting from the PDF may result in unintended issues. A warning has been placed for all users of our User Guide, and we highly suggest that for future reference, you may refer to our online user guide.

Screenshot 2023-11-20 at 9.32.58 PM.png

Duplicate status (if any):

--