coopcycle / coopcycle-app

CoopCycle native app
MIT License
152 stars 33 forks source link

A rider may see a cancelled tasks in its TaskList #1828

Open Atala opened 4 months ago

Atala commented 4 months ago

Steps to reproduce

  1. Open web dispatch and smartphone app
  2. Assign a delivery or task to a rider
  3. Right click in the task and cancel it
  4. The task is not cancelled or removed in the rider app. The rider still thinks he has to do the task.

The cause is that the task_list:updated event is not sent because the task_list itself is not changed BUT the task is updated (CANCELLED) so we should react to this event.