Skip to content

Multiple instances of UploadsStorageManager #5487

@tobiasKaminsky

Description

@tobiasKaminsky

Bug:

  • have 3 images in Camera
  • upload them
  • install this branch
  • enable "upload previously"
  • enable upload for folder "Camera"
  • see that three items as conflict in upload list view +1
  • click on one, select "keep server"
  • still see three items
    --> it should be two

This is a display bug, if you refresh up to date list is displayed.

FileDownloader L645 and UploadsStorageManager L238 -> UploadListAdapter doesn't register as an Observer of UploadsStorageManager. But there are multiple instances (see screenshot) of UploadsStorageManager so it doesn't work anyway. I need your help @tobiasKaminsky on how you would make this class an effective singleton; else there is no way to properly update the view.

image

@tobiasKaminsky up on my answers to your comments btw.

Originally posted by @ArisuOngaku in #4788 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions