Azure / aca-dotnet-workshop

A Dotnet Azure Container Apps workshop showcasing how to accelerate developers' ability to develop and ship distributed applications.
https://azure.github.io/aca-dotnet-workshop/
MIT License
93 stars 70 forks source link

Web app crashes when cookie with email address does not exist #129

Closed simonkurtz-MSFT closed 8 months ago

simonkurtz-MSFT commented 8 months ago

Describe the bug

When an email address had not been entered yet, and the user attempts to load tasks, the web app crashes.

Expected behavior

The web app loads an empty Create view.

Actual behavior

The web app crashes with this error:

image

Reproduction Steps

  1. Load the TasksTracker.WebPortal.Frontend.Ui URL. For example, [https://tasksmanager-frontend-webapp.whitewater-42989893.eastus.azurecontainerapps.io]
  2. Press Load My Tasks.
  3. Observe the error.

image

simonkurtz-MSFT commented 8 months ago

From the web app's log stream

image