coopcycle / coopcycle-web

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

Some orders are created without a customer attached, which causes a crash in "Geofencing command" #4136

Closed Atala closed 1 week ago

Atala commented 4 months ago

Error seen on Rayon9 instance, but also mensakas, shift...

https://coopcycle.sentry.io/issues/3147771538/events/089150ba09ae44cbad00386400456cee/?project=5294179&query=is%3Aunresolved+coopcycle_app_name%3Arayon9&referrer=previous-event&statsPeriod=24h&stream_index=0

Error 
/src/Command/GeofencingCommand.php in AppBundle\Command\GeofencingCommand::AppBundle\Command\{closure}

Ongoing
Level: Error
Unhandled
Call to a member function hasUser() on null

example with an old dropoff : https://coopcycle.sentry.io/issues/3147771538/?project=5294179&query=is%3Aunresolved+coopcycle_app_name%3Arayon9&referrer=issue-stream&statsPeriod=24h&stream_index=0

an example :

Atala commented 3 months ago

To check : once it is deployed everywhere, solve the issue in sentry and check if it reopens