Skip to content

[Bug]: generateSaveKey in ElementService does not respect external storage #18424

Open
@langert

Description

@langert

Pimcore version

11.5.4

Steps to reproduce

configre an external storage like amazon s3
call ElementService > generateSaveKey

calling return self::nextValidFileKeyNumber($type, $parent->getFullPath() . '/' . $key); return the fullpath including the configured prefix host for amazon s3.

Actual Behavior

calling in method:

return self::nextValidFileKeyNumber($type, $parent->getFullPath() . '/' . $key);

returns the fullpath including the configured prefix host for amazon s3.

Expected Behavior

method should use the getRealFullPath() option

return self::nextValidFileKeyNumber($type, $parent->getRealFullPath() . '/' . $key);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions