TheUnit-Grafton / UnitAdminApplication

The UnIT Clarence Valley is a technology club for young people with Asbergers or other high functioning Autism Spectrum Disorders. This web-based Blazor Server-side app is to assist in managing the members of The UnIT.
1 stars 1 forks source link

Unhandled Exception when editing Activities from main screen #40

Closed SteveTeece closed 4 years ago

SteveTeece commented 4 years ago

Describe the bug Trying to edit a current activity from the Home screen causes Unhandled Exception Error.

To Reproduce Steps to reproduce the behavior:

  1. Sign In
  2. Click "Edit" button against one of the activities
  3. Error reported:

blazor.server.js:19 [2020-08-12T23:48:41.570Z] Error: System.InvalidOperationException: EditForm requires a Model parameter, or an EditContext parameter, but not both. at Microsoft.AspNetCore.Components.Forms.EditForm.OnParametersSet() at Microsoft.AspNetCore.Components.ComponentBase.CallOnParametersSetAsync() at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()

Expected behavior Edit Activity screen should appear and be populated with correct data

SteveTeece commented 4 years ago

Fixed in PR#42