Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Program throws error when attempting to export a file in a subdirectory #2909

Open
nus-pe-bot opened this issue Apr 14, 2023 · 1 comment
Open

Comments

@nus-pe-bot
Copy link

nus-pe-bot commented Apr 14, 2023

Steps to Reproduce

  1. Create a file in a subdirectory like tes/abc.txt
  2. Add the file add n/tes/abc t/LINKED_LIST
  3. Populate the buffer
  4. Export

Expected

Either

A) The file is successfully exported in to a subdirectory in the export folder in the same structure or

B) An error is reported when adding the file stating that subdirectories are not supported

Actual

Screenshot 2023-04-14 at 4.35.01 PM.png

Screenshot 2023-04-14 at 4.34.49 PM.png

The add is accepted but export fails with the incorrect error message that the file is missing from the root directory


[original: nus-cs2113-AY2223S2/pe-interim#2903] [original labels: type.FunctionalityBug severity.Low]
@heejet
Copy link
Contributor

heejet commented Apr 15, 2023

Team's Response

This behavior is because files from the .data files can be added.

Duplicate status (if any):

Duplicate of #1244

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants