We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I upload new asset version, which have different mime type as original one, I lose original one.
Steps to reproduce (on live pimcore demo):
Take asset: http://demo.pimcore.fun/admin/login/deeplink?asset_69_image (it's a jpg)
Upload new version: png image
Everything looks good, but filename of old version is png. When publish old version you get filename as png, but mime type image/jpeg
This is issue when creating svg version of eps file, and want to revert back eps one
The text was updated successfully, but these errors were encountered:
this is intentional behavior for cases like when you publish a version after rename or moving an asset. please see https://github.com/pimcore/pimcore/blob/10.x/models/Asset.php#L1878
@brusch "upload new version" should be used to just replace the content. wdyt?
Edit: I got this wrong...so we need to fix mime type(from current state) not the filename.
Sorry, something went wrong.
[Assets] Do not override filename in version data - resolves #8316
8c1dc1c
098defe
Fixed by #9230
brusch
dvesh3
No branches or pull requests
When I upload new asset version, which have different mime type as original one, I lose original one.
Steps to reproduce (on live pimcore demo):
Take asset: http://demo.pimcore.fun/admin/login/deeplink?asset_69_image (it's a jpg)
Upload new version: png image
Everything looks good, but filename of old version is png. When publish old version you get filename as png, but mime type image/jpeg
This is issue when creating svg version of eps file, and want to revert back eps one
The text was updated successfully, but these errors were encountered: