nus-cs2103-AY2122S1 / pe-dev-response

0 stars 0 forks source link

Import feature loads incomplete information #5748

Open nus-se-bot opened 2 years ago

nus-se-bot commented 2 years ago

Steps to reproduce
export
import -f sourceControl.csv
[UG specifies that number_of_group_columns, etc. are optional parameters: `import -f [-g ] [-a

] [-t ]`]

**Expected result**
All fields to be present.

**Actual result**
Only Name and ID field are filled in, no groups, etc. are filled.

**Screenshots**
![Screen Shot 2021-11-12 at 4.53.27 PM.png](https://raw.githubusercontent.com/nus-cs2103-AY2122S1/pe/master/files/3865f0cf-2b88-460c-bb24-d647858df809.png) ![Screen Shot 2021-11-12 at 4.53.45 PM.png](https://raw.githubusercontent.com/nus-cs2103-AY2122S1/pe/master/files/fda5a568-6876-44c3-a150-bc3da41f0372.png) ![Screen Shot 2021-11-12 at 4.55.24 PM.png](https://raw.githubusercontent.com/nus-cs2103-AY2122S1/pe/master/files/99426ecf-de9e-47a2-a851-1176622869bd.png)
[original: nus-cs2103-AY2122S1/pe-interim#5777] [original labels: type.FunctionalityBug severity.High]
jonas-chow commented 2 years ago

Team's Response

It is stated in the UG under the last bullet point of the import section:

The number of group columns, assessment columns, and tag columns are assumed to be 0 if they are not specified.

This is the expected behaviour. Your csv is assumed to have 0 group columns, 0 assessment columns, and 0 tag columns when none of the flags are specified. As such, the import command will not import any groups, assessments, and tags.

Duplicate status (if any):

--