-
Notifications
You must be signed in to change notification settings - Fork 0
[Bug] CreateIssueCommand drops CategoryId and StatusId from form #118
Copy link
Copy link
Closed
Labels
go:yesReady to implementReady to implementpriority:p1This sprintThis sprintrelease:backlogNot yet targetedNot yet targetedsprint-3Sprint 3 — Full CRUD UI + ArchiveSprint 3 — Full CRUD UI + ArchivesquadSquad triage inbox — Lead will assign to a memberSquad triage inbox — Lead will assign to a membersquad:legolasAssigned to Legolas (Frontend Dev)Assigned to Legolas (Frontend Dev)squad:samAssigned to Sam (Backend Dev)Assigned to Sam (Backend Dev)type:bugSomething brokenSomething broken
Metadata
Metadata
Labels
go:yesReady to implementReady to implementpriority:p1This sprintThis sprintrelease:backlogNot yet targetedNot yet targetedsprint-3Sprint 3 — Full CRUD UI + ArchiveSprint 3 — Full CRUD UI + ArchivesquadSquad triage inbox — Lead will assign to a memberSquad triage inbox — Lead will assign to a membersquad:legolasAssigned to Legolas (Frontend Dev)Assigned to Legolas (Frontend Dev)squad:samAssigned to Sam (Backend Dev)Assigned to Sam (Backend Dev)type:bugSomething brokenSomething broken
Summary
CreateIssuePage.razorwires upIssueFormcorrectly — the form collectsTitle,Description,CategoryId, andStatusId. However, the submit handler buildsCreateIssueCommandwith onlyTitleandDescription, silently dropping the selected category and status.Root Cause
The
CreateIssueCommandmay already haveCategoryId/StatusIdfields — they're just not being set from the form model.Work Required
CreateIssueCommandrecord to confirm it hasCategoryIdandStatusIdpropertiesHandleSubmitinCreateIssuePage.razorto passrequest.CategoryIdandrequest.StatusIdCreateIssueHandlerto apply themAcceptance Criteria
Files
src/Web/Components/Features/Issues/CreateIssuePage.razorsrc/Api/Handlers/Issues/CreateIssueHandler.cssrc/Shared/(CreateIssueCommand definition)