You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a volume it is possible to select a cache duration expiresPeriod with the dropdown, without entering any value, which causes image uploads and image transforms to fail.
User error? Yes, but I'd expect it to not be possible to save the dropdown duration expiresPeriod, to project.yaml, without an associated expiresAmount value.
Steps to reproduce
Create an asset volume, type S3, completing required fields.
Select a cache duration (e.g. seconds).
Save.
Existing assets in the volume can be indexed, but Craft cannot create the transforms for control panel thumbnails and new uploads fail with the error message 'Unknown or bad format ( seconds) at position 0 (s): The timezone could not be found in the database'.
Additional info
Craft version: 4.9.1
PHP version: 8.3.6
Database driver & version: MySql 8.0.36
Plugins & versions: aws-s3 2.2.1
The text was updated successfully, but these errors were encountered:
nternetinspired
changed the title
S3 volumes can be created with invalid cache control settings
Volumes can be created with invalid cache control settings
May 3, 2024
Description
When creating a volume it is possible to select a cache duration expiresPeriod with the dropdown, without entering any value, which causes image uploads and image transforms to fail.
User error? Yes, but I'd expect it to not be possible to save the dropdown duration expiresPeriod, to project.yaml, without an associated expiresAmount value.
Steps to reproduce
Existing assets in the volume can be indexed, but Craft cannot create the transforms for control panel thumbnails and new uploads fail with the error message 'Unknown or bad format ( seconds) at position 0 (s): The timezone could not be found in the database'.
Additional info
The text was updated successfully, but these errors were encountered: