coopcycle / coopcycle-web

Logistics & marketplace platform. Only for worker-owned business.
https://coopcycle.org
Other
571 stars 130 forks source link

Bug displaying proofs of delivery in the app #3841

Open rayon9coop opened 1 year ago

rayon9coop commented 1 year ago

Describe the bug When a proof of delivery is attached to a task (or to a delivery), the photo does not appear on the application, nor on the dispatch, but appears in the pdf downloaded from the dispatch panel.

To Reproduce Steps to reproduce the behavior:

  1. create a task, assign it to a courier
  2. On the courier's app, open the task in the tasks list, attach a proof of delivery (photo and/or signature)
  3. Just before validating the task, see, the photo (or the signature) does not appaer on the app
  4. Validate the task
  5. See error on the dispatch pannel, the icon photo does not appaer on the task.
  6. On the dispatch, open the task by double clicking on it
  7. See error, the proof of delivery does not appaer on the task
  8. Download the pod, see, the photo and/or signature appaers on the pdf.

Expected behavior Same behavior in the different places : seeing the pod whereever I look.

Screenshots If applicable, add screenshots to help explain your problem. https://drive.google.com/file/d/1WhoRpCSpYg_ntFvjFuDHbMar9SzC1QMI/view?usp=sharing 20231106_111251 20231106_111300

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

Paul-Eraman-CoopCycle commented 1 year ago

Right now requries refreshing the page, we should make it be an automatic update