Skip to content

Task Attachment Issues (Duplicate Uploads & Data Loss on Reopen) #336

Description

@parvathyabnair

v1.3.3
Description:
There are two distinct bugs occurring with the task attachment feature. The behavior varies depending on whether the task is being created/edited under an Instance account or a Local account.

Issue 1: Duplicate Attachment Creation (Instance Account)
When attaching a file to a task under an Instance account, the system initially fails to register the upload count, and then subsequently creates duplicate entries for the single file uploaded.

Steps to Reproduce (Issue 1):

1.Navigate to the Tasks module and open the task creation/edit screen.
2.Ensure the Account field is set to an Instance account
3.Scroll to the Attachments section and select a single image to upload.
4.Observe: The attachment counter initially shows 0.
5.Wait for the upload process to complete.
6.Observe: The attachment list now displays duplicate entries of the exact same image.

Issue 2: Attachments Disappearing on Reopen (Local Account)
When attaching a file to a task under a Local account, the upload process appears successful in the UI. However, the data does not persist. Reopening the task shows that the attachment count has reset and the file is gone.

Steps to Reproduce (Issue 2):
1.Navigate to the Tasks module and open the task creation/edit screen.
2.Ensure the Account field is set to a Local account.
3.Scroll to the Attachments section and upload an image.
4.Observe: The upload completes successfully and the image is visible in the list.
5.Save the task.
6.Reopen the exact same task from the overview list.
7.

videossss.mp4

Observe: The attachment counter has reset to 0, and the uploaded file is no longer visible.

Expected Behavior:

Instance Accounts: Uploading one file should correctly register as 1 in the counter and result in exactly one file being attached, without duplication.

Local Accounts: Attachments should persist locally after saving. Reopening the task should correctly load and display all previously attached files.

Activity

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions