8000 Missing check if config "assets->image->thumbnails->status_cache" option is enabled/disabled · Issue #18875 · pimcore/pimcore · GitHub
[go: up one dir, main page]

Skip to content

Missing check if config "assets->image->thumbnails->status_cache" option is enabled/disabled #18875

@tecbird

Description

@tecbird

I think in "ImageThumbnailTrait" are missing multiple checks if "thumbnail status cache" is disabled.
We disabled status cache but data "content-length" is still used from (old) cache tables...

Example for missing check

$thumbnail = $this->getAsset()->getDao()->getCachedThumbnail($this->getConfig()->getName(), $this->getFilename());

Checks already exists in other lines, per example here:
$statusCacheEnabled = PimcoreConfig::getSystemConfiguration('assets')['image']['thumbnails']['status_cache']; if ($statusCacheEnabled) ....

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0