FIXING TICKET SAVE

This commit is contained in:
Mark Gregory
2026-06-12 12:58:34 +01:00
parent 292cda7ffc
commit 8ec2c33c47
19 changed files with 435 additions and 173 deletions
Regular → Executable
+9 -4
View File
@@ -31,9 +31,14 @@ versions:
"1.0.5":
changed:
- Reworked ticket creation to use a normal HTTP POST route instead of the Livewire update endpoint, preventing proxy or hashed Livewire update-route 404s from blocking ticket creation.
- Added a dedicated TicketStoreController for standard ticket creation validation, attachments and redirects.
- Changed the ticket-create Blade form to use real form field names, CSRF protection and a non-Livewire rich HTML editor payload.
- Removed the module-level Livewire update route override so the Helpdesk module no longer changes the application's global Livewire endpoint.
- Added the missing POST helpdesk.tickets.store route so native form submission to /helpdesk/tickets no longer returns 404.
- Added TicketStoreController as a safe non-JavaScript fallback while keeping the Livewire ticket create flow intact.
- Updated the ticket create form with method, action, CSRF, multipart support and named fields for fallback posting.
- Kept module.json version in sync with changelog.yaml.
"1.0.6":
changed:
- Rebuilt the Helpdesk database seeder with the requested Categories, Team, Priority and Status lookup values.
- Added contrasting colour assignments for seeded lookup records.
- Corrected the seeder namespace to Modules\\Helpdesk\\Database\\Seeders for PSR-4 module autoloading.
- Kept module.json version in sync with changelog.yaml.