LinWanLeii / pe

1 stars 0 forks source link

Attachment still shown after deleting the pdf file #1

Open LinWanLeii opened 11 months ago

LinWanLeii commented 11 months ago

After attaching a pdf name Untitled.pdf, i deleted the original pdf, however the attachment still shows that its there, even after restarting the application. Screenshot 2023-11-17 at 16.30.12.png

nus-se-bot commented 10 months ago

Team's Response

This is expected behaviour as mentioned in the DG.

The attach feature allows users to attach files to TA applicants in the app. Attaching files copies these files into the data directory and adds a reference to those files to that Person model. This means that even if the original files are deleted, TAfinder would still have access to the copies of those files.

The attached Untitled.pdf file is copied into data/attachments/STUDENT_NO/Untitled.pdf.

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: [replace this with your explanation]