Open rickkoh opened 6 months ago
This bug is caused because .csv files, depending on where they are downloaded, may have a security attribute that prevents the proper reading of the file by the app.
Actually, the UG had a line to address this:
If one opens the file and saves it, the security attribute will be disabled and the command should work as intended. However, I agree that in hindsight the understanding from the description is definitely not the most intuitive, and should have been refined or explained further.
Hopefully with this clarification the reason for the proposed severity/type changes are clearer. Regarding the severity change, I would label the severity as medium for the following reasons:
Team chose [type.DocumentationBug
]
Originally [type.FeatureFlaw
]
Reason for disagreement: Hi, I appreciate your insights into the situation, and while I acknowledge the possibility of it being a documentation bug, I still believe this should be marked as a feature flaw for the following reasons:
Behavior Misalignment: The application is not behaving as expected or intended. The export functionality is generating a file that cannot be successfully imported back into the application, despite being untampered. This misalignment between expected behavior and actual behavior points to a flaw in the functionality itself.
Impact on User Experience: The inability to import exported data can have significant consequences for users, potentially leading to loss of important data. This impact on user experience elevates the severity of the issue beyond a mere documentation problem.
Additionally, I have attempted the workaround suggested - opening the file and saving it to disable the security attribute - but unfortunately, it still doesn't work on my end.
Description
I had exported a csv file created by the application and tried importing that file back in but an error occured as depicted in the screenshot.
The issue here is that I have no tampered with the exported file at all.
Steps to reproduce
clear
.add n/John Doe p/98765432 e/johnd@example.com a/311, Clementi Ave 2, #02-25
.export
.export
. (Notice that the file is exported)clear
again.import f/./export/export.csv
.Expected Behaviour
At step 6, the application should import the exported csv file successfully.
Actual
Application unable to import a csv file that was exported and untampered.
Notes
Marking this issue severity as high as some users might export multiple data and then deleting their current ones blindly trusting that the import feature would work, leading to loss of large amount of data.
For example if:
clear
command to delete current list of contacts