-
-
Notifications
You must be signed in to change notification settings - Fork 617
Slug generation crashing with slow network speeds #14206
Copy link
Copy link
Closed
Labels
Description
Bug description
When typing into the title field of a collection entry, statamic will make calls to /cp/slug to generate the slug for the slug field. However, when the request is taking too long and you continue typing, the slug request gets cancelled and a new request is fired. This logic seems to crash something and the slug field stops updating.
How to reproduce
- Set Throttling in Chrome to something slow like 3G
- Visit https://demo.statamic.com/cp/collections/pages/entries/create
- Start typing a long title, make some weird pauses while typing
- Observe the network tab in Chrome and the slug field on the right to see the error
Logs
Environment
Environment
Application Name: Ruebe Statamic
Laravel Version: 12.54.1
PHP Version: 8.4.18
Composer Version: 2.9.5
Environment: local
Debug Mode: ENABLED
URL: ruebe-statamic.ddev.site
Maintenance Mode: OFF
Timezone: UTC
Locale: de
Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED
Drivers
Broadcasting: log
Cache: file
Database: mariadb
Logs: stack / daily
Mail: smtp
Queue: sync
Session: file
Storage
public/storage: NOT LINKED
Livewire
Livewire: v4.2.1
Sentry
Enabled: YES
Environment: local
Laravel SDK Version: 4.21.1
PHP SDK Version: 4.21.0
Release: NOT SET
Sample Rate Errors: 100%
Sample Rate Performance Monitoring: 100%
Sample Rate Profiling: NOT SET
Send Default PII: ENABLED
Statamic
Addons: 6
Sites: 1
Stache Watcher: Enabled (auto)
Static Caching: Disabled
Version: 6.5.0 PRO
Statamic Addons
aryehraber/statamic-captcha: 1.16.0
marcorieser/statamic-livewire: 5.2.1
studio1902/statamic-peak-seo: 10.0.0
thoughtco/statamic-cache-tracker: 2.2.1Installation
Other (please explain)
Additional details
Can be reproduced in the Statamic 6 Demo as well
Reactions are currently unavailable