Skip to content

Error when logging in#258

Open
aebrahim3 wants to merge 650 commits intoAccountGo:mainfrom
medhatelmasry:202EbrahimAmjadh
Open

Error when logging in#258
aebrahim3 wants to merge 650 commits intoAccountGo:mainfrom
medhatelmasry:202EbrahimAmjadh

Conversation

@aebrahim3
Copy link
Copy Markdown

  1. In the MVC app, AccountController, relace current POST SignIn action method with this code that provides more logging:

  2. Create an issue that addresses a bug along these lines:

System Administration >> Security Roles

Login with admin@accountgo.ph and P@ssword1. System hangs.

An error in the API project indicates that AspNetUsers table is missing. THere is a migrations problem pertaining to /Users/medhatelmasry/_PlayGround/4870/_GoodBooks/src/Api/Data/Migrations/IdentityDb/20251102192056_M1.cs not being applied

shayannikpour and others added 30 commits November 20, 2025 14:12
- Created SalesOrder.razor component
- Updated SalesOrder.cshtml to use Blazor component instead of MVC view

NOTE: SalesOrder endpoint returns 500 error due to nullable issue in API
  (CustomerName lookup fails when customer data is unavailable)
  Fallback logic can be added if needed, or API can be fixed to handle null customers.
  Checked on the hosted site, https://gdbmvc.azurewebsites.net/SalesOrder?id=1 also returns 404.
#157_Zhaoqiu Ding_Add GoodBooks.BackendTests DTO xUnit project and run in CI
zhapte and others added 29 commits April 6, 2026 17:04
…SamuelFung"

This reverts commit 738d788, reversing
changes made to 3142789.
…dated routing to use route parameters instead of a query string
Fixed bug in donations edit page that would cause a null exeption, up…
Fixed message placement for Purchase Orders & Purchase Invoices
#217 Implement dashboard features with DTO, service, and API
Updated user-facing text in the AccountGoWeb MVC site to rename
"Sales Receipts" to "Customer Payments" throughout the Accounts
Receivable module. All routes, controller action names, API
endpoints, and underlying domain models remain unchanged to avoid
breaking any external links or integrations.

Changes:
- _Layout.cshtml: Nav menu label "Sales Receipts" -> "Customer Payments"
- SalesController.cs: PageContentHeader values updated for
  SalesReceipts, AddReceipt, and Allocate actions
- SalesReceipts.razor: "New Receipt" button -> "New Customer Payment",
  column headers "Receipt ID/No/Date" -> "Payment ID/No/Date",
  CSS class names updated
- AddReceipt.razor: "Back to Receipts" -> "Back to Customer Payments",
  error messages updated
- SalesReceipt.razor: Page heading "Sales Receipt" -> "Customer Payment",
  "Receipt ID/No" labels -> "Payment ID/No", back button updated
- Allocate.razor: "Receipt No/Date" labels -> "Payment No/Date",
  back button and error messages updated

Closes #216
The MVC inventory list page (Items.razor embedded in Views/Inventory/
Index.cshtml) generates links to /Inventory/Item/{id} for both the
item ID column and the View/Edit button. However, InventoryController
had no Item(int id) action to handle those routes, resulting in a
404 when users clicked any item.

Added a new GET action Item(int id) that:
- Sets the PageContentHeader based on whether id > 0 (Edit) or not (New)
- Instantiates an Item model with the given Id
- Returns the existing Views/Inventory/Item.cshtml view, which wraps
  the ItemForm Blazor component at Components/Pages/Inventory/ItemForm.razor
- ItemForm.razor self-loads the item data from the API via its
  ItemId parameter, so no extra data loading is needed in the action

This follows the instructor's guidance that all Blazor components
should live in the AccountGoWeb project under Components/Pages. The
ItemForm component was already in the correct location; only the
missing MVC controller action needed to be added.

Closes #236
feat(mvc): relabel AR Sales Receipts as Customer Payments (#216)
205 removed bottom form on the add items page
fix(blazor): Add missing Item edit/create page (#236)
146 kaid krawchuk -- Convert Sales Order page to Blazor
@medhatelmasry medhatelmasry deleted the 202EbrahimAmjadh branch April 17, 2026 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.